ruffle/swf/src/avm1
relrelb 281455be6d swf: Improve `ActionTry` read/write
* Use `TryFlags` instead of hard-coded binary literals.
* Rename `try_length`, `catch_length`, `finally_length` to `try_size`,
`catch_size`, `finally_size` to match SWF19 namings.
* Refactor write and fix a few bugs there:
    * The actions length should not include the try, catch, finally
    bodies, only the metadata of `flags`, `try_size`, `catch_size`,
    `finally_size` and catch variable (either as `u8` or `SwfStr`).
    * A placeholder byte should be written in place of the catch variable
    when there is no catch clause.
2021-10-02 23:01:32 +03:00
..
opcode.rs swf: Extract `Opcode::format` and `TagCode::format` 2021-08-03 14:40:59 -07:00
read.rs swf: Improve `ActionTry` read/write 2021-10-02 23:01:32 +03:00
types.rs swf: Improve `ActionTry` read/write 2021-10-02 23:01:32 +03:00
write.rs swf: Improve `ActionTry` read/write 2021-10-02 23:01:32 +03:00