Skip to main content

Module util

Module util 

Source

Modules§

adler32
Adler-32 checksums (RFC 1950, https://www.rfc-editor.org/rfc/rfc1950.html).
crypto_helper
The symmetric crypto used in Steam’s protocols.
date_utils
Converting between Unix timestamps and SystemTime.
debug_log
The global debug log. Listeners are either trait objects or plain functions, and messages are also sent on a broadcast channel for anyone who’d rather subscribe.
debug_network_listener
Dumping network messages to disk for debugging.
hardware_utils
The machine identity Steam uses to recognize a machine, sent with the logon as a MessageObject.
i_log_context
Writing to the debug log on behalf of a client.
key_dictionary
Steam’s public key for each EUniverse. These are DER-encoded SubjectPublicKeyInfo structures; a single wrong byte breaks the channel encryption handshake.
lzma
lzma_decoder
A small, allocation-free LZMA decoder for raw streams whose uncompressed size is known up front. The output buffer doubles as the dictionary, so the whole thing is decoded in one call.
lzma_util
Decoding blobs that start with the “LZMA” magic header.
mac_helpers
macOS helpers for the machine id: the platform serial number and the boot disk’s media UUID.
msg_util
The protobuf flag on message numbers.
net_helpers
IP address and endpoint helpers.
scheduled_function
A function that runs on a fixed schedule (immediately, then every delay), on a tokio task. Stopping it cancels the task.
simple_console_debug_listener
A debug listener that prints to the console.
steam_kit_web_request_exception
The error of a failed HTTP request.
stream_helpers
Async read/write helpers for tokio streams: little-endian numbers and null-terminated strings.
task_extensions
Ignoring cancellation errors once a token is cancelled.
utils
Misc helpers: hex strings and OS detection.
v_zip_delta_util
Decompressing VZip deltas: VZip streams compressed against a previous chunk.
v_zip_util
Valve’s “VZip” container, used for Steam client updates and depot chunks.
v_zstd_util
Valve’s “VZstd” container, used for zstd-compressed depot chunks.
value_stopwatch
A tiny stopwatch.
win32_helpers
Windows helpers for the machine id: the boot disk’s serial number.
zip_util
Decompressing PKZIP archives with a single file, as older depot chunks use. Reads the zip structures directly and inflates with flate2.