org.hypergraphdb.storage
Interface ByteArrayConverter<T>

All Known Subinterfaces:
HGPrimitiveType<JavaType>
All Known Implementing Classes:
AtomRefType, BAtoBA, BAtoHandle, BAtoString, BooleanType, ByteType, CharType, DoubleType, FloatType, HGHandleType, IntType, LongType, NumericTypeBase, PrimitiveTypeBase, ShortType, StringType

public interface ByteArrayConverter<T>

A utility interface to define mappings between byte [] and object instances.

Author:
Borislav Iordanov

Method Summary
 T fromByteArray(byte[] byteArray)
           
 byte[] toByteArray(T object)
           
 

Method Detail

toByteArray

byte[] toByteArray(T object)

fromByteArray

T fromByteArray(byte[] byteArray)