Documentation - v0.27.0
    Preparing search index...

    Class IntermediatePacketCodec

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Decode a frame from a buffer

      Important implementation notice: When returning byte arrays, make sure that the returned array is not a view into the original buffer, as the underlying buffer may get invalidated

      Parameters

      • reader: Bytes
      • eof: boolean

      Returns Uint8Array<ArrayBufferLike> | null