List of usage examples for java.io Bits putLong
static void putLong(byte[] b, int off, long val)
From source file:voldemort.store.cachestore.BlockUtil.java
public static byte[] longToBytes(long data) { byte[] b = new byte[8]; Bits.putLong(b, 0, data); return b;//from www . ja v a 2s. co m }