I have a buffer in NodeJS, and it received serialized data from a bluetooth device.
The serialized data is IEEE single floating-point representation, where the offset is at 21th bit.
accX = data.readUInt32LE(2);
accX = accX >> 4;
In C, I could do a memcpy to get the float number. How could I parse float in Javascript?