SWF parser implemented in Rust and Typescript (Node and browser).
Converts bytes to swf-types
movies.
Implementation | Package | Checks | Documentation |
---|---|---|---|
Rust | |||
TypeScript | Source Code ¯\_(ツ)_/¯ |
This library is part of the Open Flash project.
The goal is to provide a complete SWF parser. The initial implementation requires the movie to be fully buffered before parsing but incremental parsing (for streams) is planned. This parser should be easily embeddable: it is intended for SWF players, analysis tools or any other project having to manipulate SWF files.
Ready for use.
The Rust and Typescript implementations are kept in sync. They both have complete support for SWF file format specification. Help is welcome to improve ergonomics and performance of the parser.
Each implementation lives in its own directory (rs
or ts
). The commands
must be executed from these "project roots", not from the "repo root".
Check the implementation-specific guides:
You can also use the library and report any issues you encounter on the Github issues page.