public class Base64 extends Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] data)
This method decodes the byte array in base 64 encoding into a char array
Base 64 encoding has to be according to the specification given by the
RFC 1521 (5.2).
|
static byte[] |
encode(byte[] data)
This method encodes the byte array into a char array in base 64 according
to the specification given by the RFC 1521 (5.2).
|
public static byte[] decode(byte[] data)
data
- the encoded byte arraypublic static byte[] encode(byte[] data)
data
- the encoded char arrayCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.