SerenityJS
    Preparing search index...

    Hierarchy

    • DataType
      • AnimateAction
    Index

    Constructors

    Methods

    Constructors

    • Default constructor for DataType.

      Parameters

      • ..._: unknown[]

      Returns AnimateAction

    Methods

    • Read a value from the stream.

      Parameters

      • stream: BinaryStream

        The BinaryStream to read from.

      • Optionaloptions: PacketDataTypeOptions<unknown>

        Options for reading the data type, such as endianness.

      Returns null | number

      The value read from the stream.

    • Write a value to the stream.

      Parameters

      • stream: BinaryStream

        The BinaryStream to write to.

      • value: null | number

        The value to write.

      Returns void