SerenityJS
    Preparing search index...

    Represents a maximum transmission unit data type. MTU is used when establishing a connection in RakNet.

    Hierarchy

    • DataType
      • MTU
    Index

    Constructors

    Methods

    Constructors

    • Default constructor for DataType.

      Parameters

      • ..._: unknown[]

      Returns MTU

    Methods

    • Reads the mtu data type from a binary stream.

      Parameters

      • stream: BinaryStream

        The binary stream to read from.

      Returns number

      The mtu data type.

    • Writes the mtu data type to a binary stream.

      Parameters

      • stream: BinaryStream

        The binary stream to write to.

      • value: number

        The value to write.

      Returns void