Package com.io7m.cedarbridge.runtime.api
Class CBIntegerUnsigned32Serializer
java.lang.Object
com.io7m.cedarbridge.runtime.api.CBAbstractSerializer<CBIntegerUnsigned32>
com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned32Serializer
- All Implemented Interfaces:
CBSerializerType<CBIntegerUnsigned32>
A serializer of 32-bit unsigned integers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(CBSerializationContextType context) Deserialize a value of the given type.voidserialize(CBSerializationContextType context, CBIntegerUnsigned32 value) Serialize a value of the given type.
-
Constructor Details
-
CBIntegerUnsigned32Serializer
public CBIntegerUnsigned32Serializer()A serializer of 32-bit unsigned integers.
-
-
Method Details
-
serialize
public void serialize(CBSerializationContextType context, CBIntegerUnsigned32 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
-