public static final class ByteArrayUtil.VarintSerializer extends Object implements ByteBufferSerializer<Integer>
Modifier | Constructor and Description |
---|---|
private |
ByteArrayUtil.VarintSerializer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
fromByteBuffer(ByteBuffer buffer)
Deprecated.
|
int |
getByteSize(Integer object)
Deprecated.
|
void |
toByteBuffer(ByteBuffer buffer,
Integer obj)
Deprecated.
|
private ByteArrayUtil.VarintSerializer()
@Deprecated public Integer fromByteBuffer(ByteBuffer buffer)
ByteBufferSerializer
fromByteBuffer
in interface ByteBufferSerializer<Integer>
buffer
- Data array to process@Deprecated public void toByteBuffer(ByteBuffer buffer, Integer obj)
ByteBufferSerializer
toByteBuffer
in interface ByteBufferSerializer<Integer>
buffer
- Buffer to serialize toobj
- Object to serialize@Deprecated public int getByteSize(Integer object)
ByteBufferSerializer
getByteSize
in interface ByteBufferSerializer<Integer>
object
- Object to serializeCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.