|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.pios.util.Bytes
Used to convert a byte array to an ASCII or UNICODE string.
Method Summary | |
static java.lang.String |
getStringFromCharArray(byte[] data,
int offset,
boolean doubleByte)
Returns a string from a char array. |
static short |
swapBytes(short value)
Swaps the bytes from a word (short). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static short swapBytes(short value)
value
- short value
public static java.lang.String getStringFromCharArray(byte[] data, int offset, boolean doubleByte)
data
- the byte array to be converted to a stringoffset
- the offset of the data to convertdoubleByte
- true if the bytes should be interpreted as a
unicode string false otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |