@zeroc/ice
    Preparing search index...

    Class OptionalFormat

    Optional format for encoding optional values.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructs a new enumerator.

      Parameters

      • name: string

        The name of the enumerator.

      • value: number

        The numeric value of the enumerator.

      Returns OptionalFormat

    Properties

    name: string

    The name of the enumerator.

    value: number

    The value of the enumerator.

    Represents a class, but is no longer encoded or decoded.

    A fixed size numeric encoded on 1 byte.

    A fixed size numeric encoded on 2 byte.

    A fixed size numeric encoded on 4 byte.

    A fixed size numeric encoded on 8 byte.

    A fixed length size (encoded on 4 bytes) followed by size bytes.

    A variable-length size encoded on 1 or 5 bytes.

    A variable-length size followed by size bytes.

    Methods

    • Returns a string representation of the current enumerator.

      Returns string

      A string representation of the current enumerator.

    • Returns the enumerator for the given value.

      Parameters

      • value: number

        The enumerator value.

      Returns OptionalFormat

      The enumerator for the given value.