Skip to main content

Module binary

Module binary 

Source
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§

ParseOptions
Options controlling how binary VDF data is parsed.

Enums§

BinaryType
Binary type byte values used in Steam’s binary VDF format.
InvalidUtf8
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.