public interface TextEncoder
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(String text)
Decodes the string into a byte array.
|
String |
encode(byte[] bytes)
Encodes the byte array to a string.
|
String encode(byte[] bytes)
bytes - the byte arraybyte[] decode(String text)
text - the encoded text