binary-parser
binary-parser copied to clipboard
double() and float() no longer available
The double() and float() that follow endianness have gone missing in binary-parser > 1.3.2
Here's an example that no longer works:
const SAMPLE = new Parser()
.endianess('little')
.int32('sampleTimeSec')
.uint16('sampleTimeMS')
.uint16('gpsFixFlags')
.double('lat')
.double('lng')
.float('ele')
.float('speed')
.uint16('pdop')
.uint16('hdop')
.uint16('vdop')
.skip(1)
.uint8('sat')
.uint16('bearing')