Skip to content

The value of "offset" is out of range. #12

Description

@sayyedabdulmajid

angeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1. Received 2
at boundsError (internal/buffer.js:49:9)
at Uint8Array.readUInt8 (internal/buffer.js:213:5)
at processMBWriteItem (/home/pi/Downloads/mcprotocol-master/mcprotocol.js:1358:27)

Problem Resolved by changing at line 1358 in MCprotocol.js file:
1358: writeResponse = theData.readUInt8(1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions