Method Summary |
|
public Object | decode(Object ascii) Decodes a byte array where each byte represents an ascii '0' or '1'. |
public byte[] | decode(byte[] ascii) Decodes a byte array where each byte represents an ascii '0' or '1'. |
public byte[] | encode(byte[] raw) Converts an array of raw binary data into an array of ascii 0 and 1 characters. |
public Object | encode(Object raw) Converts an array of raw binary data into an array of ascii 0 and 1 chars. |
public static byte[] | fromAscii(char[] ascii) Decodes a byte array where each char represents an ascii '0' or '1'. |
public static byte[] | fromAscii(byte[] ascii) Decodes a byte array where each byte represents an ascii '0' or '1'. |
public static byte[] | toAsciiBytes(byte[] raw) Converts an array of raw binary data into an array of ascii 0 and 1 character bytes - each byte is a truncated
char. |
public static char[] | toAsciiChars(byte[] raw) Converts an array of raw binary data into an array of ascii 0 and 1 characters. |
public static String | toAsciiString(byte[] raw) Converts an array of raw binary data into a String of ascii 0 and 1 characters. |
public byte[] | toByteArray(String ascii) Decodes a String where each char of the String represents an ascii '0' or '1'. |