Static Public Member Functions | |
static String | encode (byte[] b) |
Computes the base64 representation of a byte array. More... | |
static String | encodeBuffer (DataBuffer buffer) |
Computes the base64 representation of a buffer. More... | |
static byte[] | decode (String s) |
Computes the byte representation of a base64 string. More... | |
static Boolean | tryEncode (byte[] b, Holder< String > encoded) |
Computes the base64 representation of a byte array. More... | |
static Boolean | tryEncodeBuffer (DataBuffer buffer, Holder< String > encoded) |
Computes the base64 representation of a buffer. More... | |
static Boolean | tryDecode (String s, Holder< byte[]> decoded) |
Computes the byte representation of a base64 string. More... | |
|
static |
Computes the byte representation of a base64 string.
s | The input base64 string. |
|
static |
Computes the base64 representation of a byte array.
b | The input byte array. |
|
static |
Computes the base64 representation of a buffer.
buffer | The input buffer. |
|
static |
Computes the byte representation of a base64 string.
s | The input base64 string. |
decoded | The byte array. |
true
if the decode succeeds; otherwise false
|
static |
Computes the base64 representation of a byte array.
b | The input byte array. |
encoded | The base64 string. |
true
if the encode succeeds; otherwise false
|
static |
Computes the base64 representation of a buffer.
buffer | The input buffer. |
encoded | The base64 string. |
true
if the encode succeeds; otherwise false