You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew Berls edited this page Jun 1, 2015
·
2 revisions
BTables are a binary file format on disk. In general, labels are written as a delimited sequence of 2-byte UTF-16 characters (joined with the ASCII unit separator, ASCII # 31), and all cell values are 8-byte doubles.
Table format:
Integer format version (4 bytes). Currently 0.
Integer character count of joined labels string, including delimiters (4 bytes)
Note: Label characters are 2-byte UTF-16 chars, meaning the raw bytecount is 2 * character count
Label string as sequence of 2-byte UTF-16 characters
Then, for each row:
- Integer number of nonzero values in row (4 bytes)
- Sequential 'pairs' of index/value for each nonzero cell (4 bytes integer index, 8 byte double value)