Arre Ehm
Arre Ehm
Do you want repo of whole this process?
+"\\u0004" at write, and parsing on recieving socket solves the problem, but IMO it should be automatic, so reclassify this as feature request if you wish.
https://github.com/arreehm/socketConnector I don't know if it's expected, but it mostly doesn't happen.
Like I understand, if it's sends in a buffer at one time it's two different thing, but I never managed to break the` JSON.parse` being in `on('data',` like that, I...
Now I see, that I should write my own encoding, where there is size of JSON specified and read up buffer up to that length, but it takes away ease...
Solution I have is to encode/decode JSON String by following thing: ```js const { Buffer } = require('node:buffer') const encode = (string, encoding)=>{ string = Buffer.from(string, encoding) let length =...