FastOutputStream buffer = new FastOutputStream();
DataOutputStream out = new DataOutputStream(buffer);
out.writeLong(unwrapLong(previousKey));
out.writeLong(unwrapLong(nextKey));
out.writeUTF((String) value);
return buffer.toByteArray();
}
public void fromBytes(byte[] data) throws IOException {
DataInputStream in = new DataInputStream(new FastInputStream(data));
this.previousKey = wrapLong(in.readLong());