Module math

Interface ByteBufferSerializer<T>

Type Parameters:
T - Object type processed

public interface ByteBufferSerializer<T>
Class to convert from and to byte arrays (in index structures).
Author:
Erich Schubert
  • Method Summary

    Modifier and Type
    Method
    Description
    Deserialize an object from a byte buffer (e.g. disk)
    int
    getByteSize(T object)
    Get the size of the object in bytes.
    void
    toByteBuffer(ByteBuffer buffer, T object)
    Serialize the object to a byte array (e.g. disk)