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