Closed valichek closed 6 years ago
I'm using this lib in browser and noticed that NaN is encoded to float32 by default. Would expect it to raise encoding error, same as undefined.
NaN
float32
undefined
Possibly is a bug! Would you like to send a PR?
@mcollina yes, going to prepare it soon
I'm using this lib in browser and noticed that
NaN
is encoded tofloat32
by default. Would expect it to raise encoding error, same asundefined
.