Interface CAI1TypeScalar

All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
All Known Implementing Classes:
CAI1TypeScalar.Integral, CAI1TypeScalar.Monetary, CAI1TypeScalar.Real, CAI1TypeScalar.Text, CAI1TypeScalar.Time

public sealed interface CAI1TypeScalar extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1TypeScalar.Integral, CAI1TypeScalar.Text, CAI1TypeScalar.Time, CAI1TypeScalar.Monetary, CAI1TypeScalar.Real
A scalar type.
  • Method Details

    • serialize

      static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypeScalar $x) throws IOException
      Serialize a value of type CAI1TypeScalar.
      Parameters:
      $context - The serialization context.
      $x - The value to be serialized.
      Throws:
      IOException
    • deserialize

      static CAI1TypeScalar deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException
      Deserialize a value of type CAI1TypeScalar.
      Parameters:
      $context - The serialization context.
      Returns:
      A value of type CAI1TypeScalar.
      Throws:
      IOException