Expand description
Binary VDF format parser.
Supports Steam’s binary VDF formats:
- shortcuts.vdf format (simple binary)
- appinfo.vdf format (with optional string table)
Structs§
- Parse
Options - Options controlling how binary VDF data is parsed.
Enums§
- Binary
Type - Binary type byte values used in Steam’s binary VDF format.
- Invalid
Utf8 - Strategy for handling byte sequences that are not valid UTF-8 (or UTF-16).
Constants§
- APPINFO_
MAGIC_ 40 - Magic number for appinfo.vdf format version 40.
- APPINFO_
MAGIC_ 41 - Magic number for appinfo.vdf format version 41 (with string table).
Functions§
- parse
- Parse binary VDF data (autodetects format).
- parse_
appinfo - Parse appinfo.vdf format binary data.
- parse_
appinfo_ with - Parse appinfo.vdf format binary data with explicit
ParseOptions. - parse_
packageinfo - Parse packageinfo.vdf format binary data.
- parse_
packageinfo_ with - Parse packageinfo.vdf format binary data with explicit
ParseOptions. - parse_
shortcuts - Parse shortcuts.vdf format binary data.
- parse_
shortcuts_ with - Parse shortcuts.vdf format binary data with explicit
ParseOptions. - parse_
with - Parse binary VDF data (autodetects format) with explicit
ParseOptions. - read_
u32_ le - Reads a little-endian u32 from a byte slice.
- read_
u32_ le_ at - Reads a little-endian u32 from a byte slice at a specific offset.
- read_
u64_ le - Reads a little-endian u64 from a byte slice.
- read_
u64_ le_ at - Reads a little-endian u64 from a byte slice at a specific offset.