Package com.io7m.cedarbridge.runtime.api

# Class CBIntegerUnsigned16Serializer

java.lang.Object
com.io7m.cedarbridge.runtime.api.CBAbstractSerializer<CBIntegerUnsigned16>
com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16Serializer

All Implemented Interfaces:
  `CBSerializerType<CBIntegerUnsigned16>`

public final class CBIntegerUnsigned16Serializer extends CBAbstractSerializer<CBIntegerUnsigned16>
A serializer of unsigned 16-bit integers.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBIntegerUnsigned16Serializer()`
  A serializer of unsigned 16-bit integers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBIntegerUnsigned16`
  `deserialize(CBSerializationContextType context)`
  Deserialize a value of the given type.
  `void`
  `serialize(CBSerializationContextType context, CBIntegerUnsigned16 value)`
  Serialize a value of the given type.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CBIntegerUnsigned16Serializer

    public CBIntegerUnsigned16Serializer()
    A serializer of unsigned 16-bit integers.

- ## Method Details

  - ### serialize

    public void serialize(CBSerializationContextType context, CBIntegerUnsigned16 value) throws IOException
    Description copied from interface: `CBSerializerType`
    Serialize a value of the given type.
    Parameters:
      `context` - The serialization context
      `value` - The value to be serialized
    Throws:
      `IOException` - On I/O errors

  - ### deserialize

    public CBIntegerUnsigned16 deserialize(CBSerializationContextType context) throws IOException
    Description copied from interface: `CBSerializerType`
    Deserialize a value of the given type.
    Parameters:
      `context` - The serialization context
    Returns:
      A deserialized value
    Throws:
      `IOException` - On I/O errors