phretaddin / schemapack

Create a schema object to encode/decode your JSON in to a compact byte buffer with no overhead.
MIT License
452 stars 33 forks source link

doubles are converted wrongly when using varint/varuint data types #1

Closed Malkiz closed 8 years ago

Malkiz commented 8 years ago

varint/varuint data types are implemented with bitwise operators, which in JS work only on integers smaller than MAX_INT (2^32). So there is currently no support for double integers (large numbers).

Malkiz commented 8 years ago

not an issue - for doubles use "float64" data type