Open thkfighter opened 6 months ago
@thkfighter
double is a 64 bit (8 byte) value.
All types in the node use/adhere to the NodeJS buffer specification: https://nodejs.org/api/buffer.html#bufreaddoublebeoffset
There looks to be a bug in the auto calculate next offset.
Just adjust your offsets manually until it is fixed :)
Ubuntu 22.04 Node-RED 3.1.3 node v20.10.0
I am parsing a buffer with lots of double values, which are 8-byte IEEE754Double. I add double(le) items to node buffer-parser, but it seems that they are 4 bytes long.![Screenshot from 2023-12-23 23-45-03](https://github.com/Steve-Mcl/node-red-contrib-buffer-parser/assets/28823037/94ff5623-e88f-4ff0-b3e8-f6f7ce75cdb0)