public class Base64 extends Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(String encdata)
Returns an array of decoded bytes which were encoded in the passed byte
array.
|
static String |
encode(byte[] data)
Returns a String of base64-encoded characters to represent the passed
data array.
|
public static String encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(String encdata)
data
- the array of base64-encoded charactersCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.