SerenityJS
    Preparing search index...

    Class DataTypeAbstract

    Represents a data type.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Reads the data type from a binary stream.

      Parameters

      • _stream: BinaryStream

        The binary stream to read from.

      • _endian: Endianness = Endianness.Big

        The endianness to use.

      • Optional_parameter: unknown

        An optional parameter.

      Returns unknown

      The data type.

    • Writes the data type to a binary stream.

      Parameters

      • _stream: BinaryStream

        The binary stream to write to.

      • _value: unknown

        The data type to write.

      • _endian: Endianness = Endianness.Big

        The endianness to use.

      • Optional_parameter: unknown

        An optional parameter.

      Returns void