public final class Base64 extends Object
For internal use only.
Modifier and Type | Field and Description |
---|---|
static int |
DECODE
Specify decoding in first bit.
|
static int |
DO_BREAK_LINES
Do break lines when encoding.
|
static int |
ENCODE
Specify encoding in first bit.
|
static int |
NO_OPTIONS
No options specified.
|
static int |
ORDERED
Encode using the special "ordered" dialect of Base64.
|
static int |
URL_SAFE
Encode using Base64-like encoding that is URL- and Filename-safe as described in
Section 4 of RFC3548: https://tools.ietf.org/html/rfc3548.
|
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] bytes) |
static byte[] |
encode(byte[] bytes) |
static boolean |
isBase64(byte[] bytes) |
public static final int NO_OPTIONS
public static final int ENCODE
public static final int DECODE
public static final int DO_BREAK_LINES
public static final int URL_SAFE
public static final int ORDERED