public static final class ByteArrayUtil.LongSerializer extends Object implements FixedSizeByteBufferSerializer<Long>
Modifier | Constructor and Description |
---|---|
private |
ByteArrayUtil.LongSerializer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Long |
fromByteBuffer(ByteBuffer buffer)
Deprecated.
|
int |
getByteSize(Long object)
Deprecated.
|
int |
getFixedByteSize()
Get the fixed size needed by this serializer.
|
void |
toByteBuffer(ByteBuffer buffer,
Long obj)
Deprecated.
|
private ByteArrayUtil.LongSerializer()
@Deprecated public Long fromByteBuffer(ByteBuffer buffer)
ByteBufferSerializer
fromByteBuffer
in interface ByteBufferSerializer<Long>
buffer
- Data array to process@Deprecated public void toByteBuffer(ByteBuffer buffer, Long obj)
ByteBufferSerializer
toByteBuffer
in interface ByteBufferSerializer<Long>
buffer
- Buffer to serialize toobj
- Object to serialize@Deprecated public int getByteSize(Long object)
ByteBufferSerializer
getByteSize
in interface ByteBufferSerializer<Long>
object
- Object to serializepublic int getFixedByteSize()
FixedSizeByteBufferSerializer
getFixedByteSize
in interface FixedSizeByteBufferSerializer<Long>