From 076fc6198041d58705c2decc3596d12910284bc4 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 23 Jan 2018 15:36:20 +0100 Subject: Fix documentation: integers are stored in little-endian byte order. David misdocumented read/write int functions back in commit 5fed2f9169fdd0585cc83ff0fa8210d97da77cb2 (2007-05-19) and later it probably got copy-pasted to the documentation of file format. --- FILEFORMAT | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FILEFORMAT') diff --git a/FILEFORMAT b/FILEFORMAT index fcd3d41..0fddf85 100644 --- a/FILEFORMAT +++ b/FILEFORMAT @@ -8,7 +8,7 @@ Following sections explain internals of metastore file (.metadata). CSTRING = NUL-terminated binary string BSTRING(N) = binary string of length N - INT(N) = N byte integer in big endian byte order + INT(N) = N byte integer in little-endian byte order ### File layout -- cgit v1.2.1