Use proper NodeRuntime in the formatter interface
This commit is contained in:
parent
a420d9cdc7
commit
a8387b8b19
10 changed files with 71 additions and 20 deletions
|
@ -17,6 +17,7 @@ function handleData() {
|
|||
|
||||
const length = buffer.readUInt32LE(0);
|
||||
console.log(length);
|
||||
console.log(buffer.toString());
|
||||
if (buffer.length < 4 + length) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue