com.amazon.carbonado.raw
Interface GenericStorableCodec.Decoder<S extends Storable>

Enclosing class:
GenericStorableCodec<S extends Storable>

public static interface GenericStorableCodec.Decoder<S extends Storable>

Used for decoding different generations of Storable.


Method Summary
 void decode(S dest, byte[] data)
           
 

Method Detail

decode

void decode(S dest,
            byte[] data)
            throws CorruptEncodingException
Parameters:
dest - storable to receive decoded properties
data - decoded into properties, some of which may be dropped if destination storable doesn't have it
Throws:
CorruptEncodingException


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.