/** * Return the value as a byte array */ public byte[] readBytes() { return BYTES_ARRAY_SERIALIZER.fromByteBuffer( getNext() ); }
/** * return the next vlaue as a byte */ public byte readByte() { return BYTE_SERIALIZER.fromByteBuffer( getNext() ); }
/** * Return the value as an String */ public String readString() { return STRING_SERIALIZER.fromByteBuffer( getNext() ); }
/** * Return the next 16 bytes asa UUID * @return */ public UUID readUUID() { return UUID_SERIALIZER.fromByteBuffer( getNext() ); }
/** * Return the value as an integer */ public int readInteger() { return INTEGER_SERIALIZER.fromByteBuffer( getNext() ); }