@qualithm/mqtt-wire - v0.1.5
    Preparing search index...

    Function parsePacketFrame

    • Parses packet frame information from a complete packet.

      Unlike readPacketFrame, this assumes the packet is complete and returns structured frame information.

      Parameters

      • buffer: Uint8Array

        Buffer containing a complete packet

      • offset: number = 0

        Starting offset

      Returns DecodeResult<PacketFrame>

      Decoded frame information or error