public interface Base64Support
Base64SupportFactory
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] b)
Decode a byte array in Byte64 to a new array.
|
byte[] |
decodeBuffer(String string)
Decode a string in Byte64 to a byte array.
|
String |
encode(byte[] bytes)
Encode data to a Base64 encoded string.
|
byte[] |
encodeToArray(byte[] bytes)
Encode data to a Base64 encoded byte array.
|
byte[] decodeBuffer(String string) throws IOException
string
- Base64 encoded data.IOException
- on an I/O error.byte[] decode(byte[] b) throws IOException
b
- Base64 encoded data.IOException
- on an I/O error.String encode(byte[] bytes)
bytes
- raw bytes.byte[] encodeToArray(byte[] bytes)
bytes
- raw bytes.