aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2017-10-29 20:21:15 -0700
committerBryan Newbold <bnewbold@archive.org>2017-10-29 20:21:15 -0700
commitd9392d4efbb385f70c01c592abe92bdcf16492bb (patch)
tree31bbd8c36882cd22b5501c901266fe366ef1f405
parent0e32aefb643605ed8e80846ea78ed8d63186bf92 (diff)
downloaddat-docs-d9392d4efbb385f70c01c592abe92bdcf16492bb.tar.gz
dat-docs-d9392d4efbb385f70c01c592abe92bdcf16492bb.zip
clarify that SLEEP magic is big-endian
-rw-r--r--papers/sleep.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/papers/sleep.md b/papers/sleep.md
index 63dbe48..1694282 100644
--- a/papers/sleep.md
+++ b/papers/sleep.md
@@ -47,7 +47,7 @@ SLEEP files are laid out like this:
````
- 32 byte header
- - 4 bytes - magic byte (value varies depending on which file, used to quickly identify which file type it is)
+ - 4 bytes Uint32BE ("Big-Endian") - magic byte (value varies depending on which file, used to quickly identify which file type it is)
- 1 byte - version number of the file header protocol, current version is 0
- 2 byte Uint16BE - entry size, describes how long each entry in the file is
- 1 byte - length prefix for body