Expand description
This file contains all the scalars defined in the specification file.
The specification uses names like WORD
, SHORT
, etc. which
was resulted in some confusion while implementing this parser.
Therefore the parser uses the same types making it easy to
compare it to the specification.
Structs§
Functions§
- byte
- dword
- dword_
size - Parse a DWORD as size information and make sure the parsed size no less than 4. The latter is important as this function is used when parsing frames and chunks where the size includes itself.
- fixed
- long
- parse_
color - parse_
dword_ as_ u8 - parse_
dword_ as_ usize - parse_
point - parse_
rect - parse_
rgb - parse_
size - parse_
string - parse_
uuid - short
- word