Package com.io7m.cedarbridge.runtime.api
Class CBIntegerSigned64Serializer
java.lang.Object
com.io7m.cedarbridge.runtime.api.CBAbstractSerializer<CBIntegerSigned64>
com.io7m.cedarbridge.runtime.api.CBIntegerSigned64Serializer
- All Implemented Interfaces:
CBSerializerType<CBIntegerSigned64>
A serializer of signed 64-bit integer values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(CBSerializationContextType context) Deserialize a value of the given type.voidserialize(CBSerializationContextType context, CBIntegerSigned64 value) Serialize a value of the given type.
-
Constructor Details
-
CBIntegerSigned64Serializer
public CBIntegerSigned64Serializer()A serializer of signed 64-bit integer values.
-
-
Method Details
-
serialize
public void serialize(CBSerializationContextType context, CBIntegerSigned64 value) throws IOException Description copied from interface:CBSerializerTypeSerialize a value of the given type.- Parameters:
context- The serialization contextvalue- The value to be serialized- Throws:
IOException- On I/O errors
-
deserialize
Description copied from interface:CBSerializerTypeDeserialize a value of the given type.- Parameters:
context- The serialization context- Returns:
- A deserialized value
- Throws:
IOException- On I/O errors
-