Skip to content

Commit

Permalink
Add note about strings to the file layer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
josephburkhart committed Sep 16, 2024
1 parent 45c0e96 commit 21a63ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/file-layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,6 @@ Data block
A data block stores raw data bytes on the disk. For a given index entry
``entry``, the data starts at location ``entry.location`` and is the next
``entry.N * entry.M * gsd_sizeof_type(entry.type)`` bytes.

The type fields are self-explanatory except for UTF-8 strings, for which
null-termination is allowed but not required.

0 comments on commit 21a63ef

Please sign in to comment.