FlexoCheck Class
- public class FlexoCheck
extends Object
Provides encoding of raw bytes to base64-encoded characters, and
decoding of base64 characters to raw bytes.
-
Hierarchy
-
Object
FlexoCheck
public static byte[] |
-
decode (char[] data)
- Returns an array of bytes which were encoded in the passed
character array.
|
public static char[] |
-
encode (byte[] data)
- returns an array of base64-encoded characters to represent the
passed data array.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlexoCheck
public FlexoCheck()
decode(char[]) Method
public static byte[] decode(char[] data)
Returns an array of bytes which were encoded in the passed
character array.
Parameters
-
data
- the array of base64-encoded characters
Returns
- decoded data array
encode(byte[]) Method
public static char[] encode(byte[] data)
returns an array of base64-encoded characters to represent the
passed data array.
Parameters
-
data
- the array of bytes to encode
Returns
- base64-coded character array.