Struct swf_headers::DecodedSwf
[−]
[src]
pub struct DecodedSwf { // some fields omitted }
Handles decompressing swf innards and reading the results.
This is a helper struct abstracting over the various kinds of compression SWF files can use, namely zlib and LZMA.
Methods
impl DecodedSwf
fn decompress(file: File, sig: Signature) -> Result<Self, Error>
Takes a file and a SWF signature, and handles decompressing the file accordingly, returning a reader.