mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Clarify the minimum size for a RAC file
This commit is contained in:
1 parent
fbece6d53a
commit
1cb1f1d527
1 file changed
+2
-3
@@ -149,10 +149,9 @@ same number: `0x0000_FFFF_FFFF_FFFF`, which is `((1 << 48) - 1)`.
|
|||||||
|
|
||||||
## File Structure
|
## File Structure
|
||||||
|
|
||||||
A RAC file (the `CFile`) must be at least 4 bytes long, and start with the 3
|
A RAC file (the `CFile`) must be at least 32 bytes long, and start with the 3
|
||||||
byte `Magic` (see below), so that no valid RAC file can also be e.g. a valid
|
byte `Magic` (see below), so that no valid RAC file can also be e.g. a valid
|
||||||
JPEG file. The fourth byte is examined in the process described by the "Root
|
JPEG file.
|
||||||
Node at the CFile Start" section, below.
|
|
||||||
|
|
||||||
The `CFile` contains a tree of `Node`s. Each `Node` is either a `Branch Node`
|
The `CFile` contains a tree of `Node`s. Each `Node` is either a `Branch Node`
|
||||||
(pointing to between 1 and 255 child `Node`s) or a `Leaf Node`. There must be
|
(pointing to between 1 and 255 child `Node`s) or a `Leaf Node`. There must be
|
||||||
|
|||||||
Reference in new issue
Block a user