discord-mcbe
    Preparing search index...

    Function toWebSocketCommands

    • Turns a serialized packet into the commands that deliver it.

      Parameters

      • json: string
      • id: string

        Tells apart messages whose chunks are in flight at the same time.

      • maxBytes: number = WEBSOCKET_COMMAND_MAX_BYTES

      Returns string[]