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)

Enums§

BinaryType
Binary type byte values used in Steam’s binary VDF format.

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_packageinfo
Parse packageinfo.vdf format binary data.
parse_shortcuts
Parse shortcuts.vdf format binary data.
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.