Methods Summary |
---|
public static char | getChar(byte[] data, int offset)A convenience method for converting a byte array into
a char (assumes big-endian byte ordering). With a cast
this method can also convert a byte array into a short:
// Using getChar() to retrieve a short
short s = (short) getChar(data, 0)
// NYI.
return '0";
|
public static int | getInt(byte[] data, int offset)A convenience method for converting a byte array into
an int. (Assumes big-endian byte ordering.)
// NYI.
return 0;
|
public static long | getLong(byte[] data, int offset)A convenience method for converting a byte array into
a long (assumes big-endian byte ordering).
// NYI.
return 0;
|
public static java.lang.String | getString(byte[] data, int offset, int numBytes)A convenience method for converting a byte array into
a String.
// NYI.
return null;
|
public static int | putChar(char c, byte[] data, int offset)A convenience method for converting a char into
a byte array. With a cast this method can convert a
short into a byte array:
// Using putChar() to store a short.
short s;
int rv = putChar((char) s, data, 0);
// NYI.
return 0;
|
public static int | putInt(int i, byte[] data, int offset)A convenience method for converting an integer into
a byte array with big-endian byte ordering.
// NYI.
return 0;
|
public static int | putLong(long l, byte[] data, int offset)A convenience method for converting a long into
a byte array with big-endian byte ordering.
// NYI.
return 0;
|
public static int | putString(java.lang.String s, byte[] data, int offset)A convenience method for converting a String into
a byte array.
// NYI.
return 0;
|