public final class Base64CodecUtil extends Object
| Constructor and Description |
|---|
Base64CodecUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String encodedString)
Decodes data from the input string into using the encoding scheme.
|
static String |
encode(byte[] data)
Encodes all bytes from the specified byte array into String using StandardCharsets.UTF_8.
|
public static byte[] decode(String encodedString)
encodedString - - Base64 encoded string to decodepublic static String encode(byte[] data)
data - byte[] source dataCopyright © 2022 The Apache Software Foundation. All rights reserved.