WireType
- the wire format to serialize onpublic interface Converter<WireType>
Modifier and Type | Method and Description |
---|---|
UserData |
deserialize(String wireSchema,
WireType buffer)
Deserializes the data from the wire.
|
ConverterSignature |
getSignature()
Get signature for this converter.
|
WireContents<WireType> |
serialize(Class<?> typeInfo,
Object obj)
Serializes user data to a wire representation.
|
WireContents<WireType> serialize(Class<?> typeInfo, Object obj) throws ConversionException
typeInfo
- Java class describing the type of the data to serializeobj
- data to serializeConversionException
- error converting the dataUserData deserialize(String wireSchema, WireType buffer) throws ConversionException
wireSchema
- wire schema of the serialized databuffer
- serialized dataConversionException
- error deserializing from the wireConverterSignature getSignature()
Copyright © 2018 CoR-Lab. All rights reserved.