serio
    Preparing search index...

    Class SInt16BE

    Serializable wrapper for a signed 16-bit integer with big endian encoding.

    Hierarchy

    • SerializableScalarWrapperClass<number, this>
      • SInt16BE
    Index

    Constructors

    • Returns SInt16BE

    Properties

    value: number = defaultValue

    Methods

    • Type Parameters

      • JsonValueT extends number

      Parameters

      Returns void

    • Deserializes a buffer into this value.

      Parameters

      • buffer: Buffer

      Returns number

      Number of bytes read.

    • Computes the serialized length of this value.

      Returns number

    • Serializes this value into a buffer.

      Returns Buffer<ArrayBuffer>

    • Returns any

    • Return a variant of this class that looks up an enum value for toJSON().

      Parameters

      • enumType: object

      Returns typeof __class

    • Creates a new instance of this value by deserializing from a buffer.

      Type Parameters

      Parameters

      Returns T