java.lang.Object
|
+--stec.net.Codecs
public final class Codecs
Methods for encoding/decoding text.
Methods
|
Method
|
Description
|
|
base64Decode
|
Decodes the specified Base64 encoded string or byte array.
|
base64Decode
Decodes the specified Base64 encoded string or byte array.
Syntax
public final static static String base64Decode(String string)
public final static static byte[] base64Decode(byte[] bytearray)
Parameters
|
string
|
the Base64 encoded string to decode.
|
|
bytearray
|
the Base64 encoded array of bytes to decode.
|
Returns
|
String
|
the decoded string.
|
|
byte[]
|
the decoded array of bytes.
|
Throws
Example
String message = Codecs.base64Decode(encodedMessage);
|