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