Class ArrayUtil
- java.lang.Object
-
- org.apache.bookkeeper.bookie.storage.ldb.ArrayUtil
-
class ArrayUtil extends java.lang.Object
Utility to serialize/deserialize longs into byte arrays.
-
-
Constructor Summary
Constructors Constructor Description ArrayUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getLong(byte[] array, int index)
static boolean
isArrayAllZeros(byte[] array)
static void
setLong(byte[] array, int index, long value)
-