public class Base64
extends java.lang.Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(char[] data)
Decodes a BASE-64 encoded stream to recover the original data.
|
static char[] |
encode(byte[] data)
returns an array of base64-encoded characters to represent the passed
data array.
|
public static char[] encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(char[] data)
Copyright © 2021. All Rights Reserved.