Utilities related to Base64 encoding.
| Type | Name and description |
|---|---|
static byte[] |
decodeBase64(java.lang.String string)Decodes the given Base64 string to bytes. |
static java.lang.String |
encodeBase64(byte[] bytes)Encodes the given bytes to a Base64 string. |
static java.lang.String |
printHexBinary(byte[] bytes)Print the given bytes as a HEX string. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Decodes the given Base64 string to bytes.
string - the Base64 string to decodeEncodes the given bytes to a Base64 string.
bytes - the bytes to encodePrint the given bytes as a HEX string.
bytes - the bytes to covert to a HEX string