Base64
This class will be removed in Tomcat 8.@Deprecated public final class Base64 extends Object
Constructor and Description |
---|
Base64()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
decode(ByteChunk base64DataBC,
ByteChunk decodedDataBC)
Deprecated.
Decodes Base64 data into octets
|
static void |
decode(ByteChunk base64DataBC,
CharChunk decodedDataCC)
Deprecated.
Decodes Base64 data into octets
|
static String |
encode(byte[] binaryData)
Deprecated.
Use
DatatypeConverter.printBase64Binary(byte[]) .
This method will be removed in Tomcat 8.0.x. |
@Deprecated public static String encode(byte[] binaryData)
DatatypeConverter.printBase64Binary(byte[])
.
This method will be removed in Tomcat 8.0.x.binaryData
- Array containing binary data to encode.public static void decode(ByteChunk base64DataBC, CharChunk decodedDataCC)
base64DataBC
- Byte array containing Base64 datadecodedDataCC
- The decoded data charsCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.