Use proper NodeRuntime in the formatter interface

This commit is contained in:
Kirill Bulatov
2023-10-11 12:56:28 +03:00
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;
}