Commits

Tobias Westerblom  committed c777107 Draft

Edited online

  • Participants
  • Parent commits ab8da7f

Comments (0)

Files changed (1)

 
 All integer types wider than 8 bits are sent in network byte order (big-endian, most significant bit first).
 
-**IMPORTANT:** 64 bit integers (long) are not fully supported in most languages. In Java only signed 64 bit integers are supported (long). In Javascript numbers are 64 bit floats (IEEE-754) and can only handle  [[http://stackoverflow.com/questions/9643626/javascript-cant-handle-64-bit-integers-can-it|53 bit integers]] without rounding. 
+**IMPORTANT:** 64 bit integers (long) are not fully supported in most languages. In Java only signed 64 bit integers are supported (long). In Javascript numbers are 64 bit floats (IEEE-754) and can only handle  [[http://stackoverflow.com/questions/9643626/javascript-cant-handle-64-bit-integers-can-it|53 bit integers]] without approximation. If you need to handle big numbers with high precision please consider using strings for transport.
 
 == JSON Format ==
 The packet format follows the JSON specification. All integers, strings and structs are trivially converted between the protocol format and its JSON equivalense, except for those noted below.