Static Public Member Functions | |
static int | array2int (byte[] arr, int offset) |
static void | int2array (int n, byte[] arr, int offset) |
static String | byteArrayToString (byte[] barr) |
static String | objectArrayToString (Object[] arr, String name) |
Definition at line 17 of file DbUtil.java.
|
Get the u_int32_t stored beginning at offset "offset" into array "arr". We have to do the conversion manually since it's a C-native int, and we're not really supposed to make this kind of cast in Java.
Definition at line 26 of file DbUtil.java. |
|
Convert a byte array to a concise, readable string suitable for use in toString methods of the *Stat classes.
Definition at line 122 of file DbUtil.java. |
|
Store the specified u_int32_t, with endianness appropriate to the platform we're running on, into four consecutive bytes of the specified byte array, starting from the specified offset. Definition at line 75 of file DbUtil.java. |
|
Convert an object array to a string, suitable for use in toString methods of the *Stat classes.
Definition at line 154 of file DbUtil.java. |