Skip to main content

Module web

Module web 

Source
Expand description

Synthetic legacy bundles and WebFile containers, including stored compression streams.

Functions§

brotli
Brotli with a metadata block placing Unity’s detection marker at 0x20, then uncompressed meta-blocks (RFC 7932 sections 9.1 and 9.2).
gzip
Gzip with a stored DEFLATE stream, deterministic header and CRC.
huffman
A Huffman-coded WebFile containing raw = ab12 repeated 3000 times. Synthetic stream encoded by brotli 1.2.0, quality 11, lgwin 16, with a metadata block for detection. Exercises tables and the static dictionary.
legacy
UnityWeb/UnityRaw, formats 1–6 (files/BundleFile.py:55-94).
legacy_levels
The same legacy payload with multiple levels; only the last is used.
plain
Plain WebFile (files/WebFile.py:73-105).
unsupported_name_length
A plain WebFile whose first member’s name length is -2 (Tier U). Nonempty entries retain their payloads, but opening the directory is unsupported.