Skip to content

Commit

Permalink
Clarify endianness for binary JSON interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq authored Apr 25, 2024
1 parent 26b42ad commit b888f19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions JData_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ all non-negative numbers specifying the dimensions of the N-dimensional array.
The binary data of the N-dimensional array is then serialized in the **row-major** format
(similar to C, C++, Javascript or Python) order.

As a special note, all BJData/UBJSON integer types must be stored in the Big-Endian
format, according to the specification; the storage of floating point types
(`h,d,D`) follows the [IEEE 754 specification](https://en.wikipedia.org/wiki/IEEE_754).
As a special note, all BJData/UBJSON integer and floating-point types must be
stored in the **Little-Endian** format, according to
[BJData Specification (Draft 2)](https://github.com/NeuroJSON/bjdata/tree/Draft_2).


Data Models
Expand Down

0 comments on commit b888f19

Please sign in to comment.