SerenityJS
    Preparing search index...

    Hierarchy

    • DataType
      • ByteArray
    Index

    Constructors

    Methods

    Constructors

    • Default constructor for DataType.

      Parameters

      • ..._: unknown[]

      Returns ByteArray

    Methods

    • Read a value from the stream.

      Parameters

      • stream: BinaryStream

        The BinaryStream to read from.

      Returns Buffer

      The value read from the stream.

    • Write a value to the stream.

      Parameters

      • stream: BinaryStream

        The BinaryStream to write to.

      • value: Buffer

        The value to write.

      Returns void