|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.util.ByteArrayUtilities
public final class ByteArrayUtilities
Performs conversions between a byte array and hexadecimal, and vice versa.
Method Summary | ||
---|---|---|
static String |
byteArrayToHex(byte[] raw)
Converts a byte array to a hexadecimal representation |
|
static byte[] |
hexToByteArray(String hex)
Converts a hexadecimal string to a byte array |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String byteArrayToHex(byte[] raw)
raw
- the byte array to convert.
public static byte[] hexToByteArray(String hex)
hex
- the string to convert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal