Expand description
Ogg/Vorbis related helpers used by Siglus/Tona.
The original engine sometimes stores Ogg data with a simple XOR obfuscation. Some runtimes apply this XOR transform on reads.
Structs§
- Bounded
File - A
Read + Seekwrapper that restricts access to a[start, start+len)range.
Functions§
- looks_
like_ ogg - Basic sniffing for Ogg container magic.
- validate_
subrange - Validate
offset/sizeagainst the file length. - xor_
file_ to_ vec - Decrypt a whole file by XORing each byte with
key.