|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.PingOO.DLAI.lib.util.BinaryCodec
Provides a translator to byte array.
| Constructor Summary | |
private |
BinaryCodec()
Hides the constructor from the outside. |
| Method Summary | |
static byte[] |
encode(char[] data)
Translates a char array into a byte array. |
static byte[] |
encode(java.lang.String data)
Translates a string into a byte array. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
private BinaryCodec()
| Method Detail |
public static byte[] encode(java.lang.String data)
throws java.lang.NullPointerException
data - The data to put in byte array.null.
public static byte[] encode(char[] data)
throws java.lang.NullPointerException
data - The data to put in byte array.null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||