Package com.io7m.cedarbridge.runtime.api

# Class CBStringSerializer

java.lang.Object
com.io7m.cedarbridge.runtime.api.CBAbstractSerializer<CBString>
com.io7m.cedarbridge.runtime.api.CBStringSerializer

All Implemented Interfaces:
  `CBSerializerType<CBString>`

public final class CBStringSerializer extends CBAbstractSerializer<CBString>
A string serializer.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBStringSerializer()`
  A string serializer.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBString`
  `deserialize(CBSerializationContextType context)`
  Deserialize a value of the given type.
  `void`
  `serialize(CBSerializationContextType context, CBString 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

  - ### CBStringSerializer

    public CBStringSerializer()
    A string serializer.

- ## Method Details

  - ### serialize

    public void serialize(CBSerializationContextType context, CBString 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 CBString 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