Class Marshalling

com.yandex.runtime.bindings

public class Marshalling

Methods

static< T > T deserialize(ByteBuffer buffer, ArchivingHandler< T > handler)
static< T > List< T > deserializeArray(ByteBuffer buffer, ArchivingHandler< T > handler)
static< K, V > Map< K, V > deserializeMap(ByteBuffer buffer, ArchivingHandler< K > keyHandler, ArchivingHandler< V > valueHandler)
static< T > ByteBuffer serialize(T object, ArchivingHandler< T > handler)
static< T > ByteBuffer serializeArray(List< T > array, ArchivingHandler< T > handler)
static< K, V > ByteBuffer serializeMap(Map< K, V > map, ArchivingHandler< K > keyHandler, ArchivingHandler< V > valueHandler)

Method Detail

deserialize

public static static< T > T deserialize (ByteBuffer buffer, ArchivingHandler< T > handler)

deserializeArray

public static static< T > List< T > deserializeArray (ByteBuffer buffer, ArchivingHandler< T > handler)

deserializeMap

public static static< K, V > Map< K, V > deserializeMap (ByteBuffer buffer, ArchivingHandler< K > keyHandler, ArchivingHandler< V > valueHandler)

serialize

public static static< T > ByteBuffer serialize (T object, ArchivingHandler< T > handler)

serializeArray

public static static< T > ByteBuffer serializeArray (List< T > array, ArchivingHandler< T > handler)

serializeMap

public static static< K, V > ByteBuffer serializeMap (Map< K, V > map, ArchivingHandler< K > keyHandler, ArchivingHandler< V > valueHandler)