public final class Base64 extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(char[] data)
Deprecated.
Use the java.util.Base64.geDecoder().decode(String) method instead
|
static char[] |
encode(byte[] data)
Deprecated.
Use the java.util.Base64.getEncoder().encode(byte[]) method instead
|
public static char[] encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(char[] data)
data
- data to decode.Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.