@zeroc/ice
    Preparing search index...

    Class FormatType

    This enumeration describes the possible formats for classes.

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructs a new enumerator.

      Parameters

      • name: string

        The name of the enumerator.

      • value: number

        The numeric value of the enumerator.

      Returns FormatType

    Properties

    name: string

    The name of the enumerator.

    value: number

    The value of the enumerator.

    CompactFormat: FormatType

    Favors compactness, but does not support slicing-off unknown slices during unmarshaling.

    SlicedFormat: FormatType

    Allows slicing-off unknown slices during unmarshaling, at the cost of some extra space in the marshaled data.

    Methods

    • Returns a string representation of the current enumerator.

      Returns string

      A string representation of the current enumerator.

    • Returns the enumerator corresponding to the specified numeric value.

      Parameters

      • value: number

        The numeric value of the enumerator.

      Returns FormatType

      The matching enumerator, or undefined if no enumerator corresponds to the given value.