-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
BismuthAPI/JavaScript/BismuthNative.ts
Line 70 in 31ba6bf
| return resolve(JSON.parse(response.toString('utf8').substr(10))); |
@gabidi
This just drops the first 10 bytes of each buffer.
The first 10 bytes are the len of what to read next and have to be read and enforced.
One command is not one packet/buffer.
You can have one command over 2 buffers, or 2 commands in one buffer.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working