public static final class ByteArrayUtil.VarintSerializer extends java.lang.Object implements ByteBufferSerializer<java.lang.Integer>
Modifier | Constructor and Description |
---|---|
private |
VarintSerializer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
fromByteBuffer(java.nio.ByteBuffer buffer)
Deprecated.
|
int |
getByteSize(java.lang.Integer object)
Deprecated.
|
void |
toByteBuffer(java.nio.ByteBuffer buffer,
java.lang.Integer obj)
Deprecated.
|
private VarintSerializer()
@Deprecated public java.lang.Integer fromByteBuffer(java.nio.ByteBuffer buffer) throws java.io.IOException
ByteBufferSerializer
fromByteBuffer
in interface ByteBufferSerializer<java.lang.Integer>
buffer
- Data array to processjava.io.IOException
- on IO errors@Deprecated public void toByteBuffer(java.nio.ByteBuffer buffer, java.lang.Integer obj)
ByteBufferSerializer
toByteBuffer
in interface ByteBufferSerializer<java.lang.Integer>
buffer
- Buffer to serialize toobj
- Object to serialize@Deprecated public int getByteSize(java.lang.Integer object)
ByteBufferSerializer
getByteSize
in interface ByteBufferSerializer<java.lang.Integer>
object
- Object to serializeCopyright © 2019 ELKI Development Team. License information.