NiimBlueLib Docs
    Preparing search index...

    Class PacketParser

    Packet parsers.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parse raw data containing one or more packets.

      For example, 55554a01044faaaa5555f60101f6aaaa will be converted to the two NiimbotPackets.

      Parameters

      • buf: Uint8Array

        bytes

      Returns NiimbotPacket[]

      list of packet objects