Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use `.extend` to collect and append `frames` Instead of copying `frames` into a new `list`, just use `.extend` to add them into the `list` already containing the prelude. This is flexible and handles other non-`list` objects just as well. * Assign format to a variable for easier reference * Refactor itemsize from number of elements read * Compute the size of `"Q"` and use throughout * Use `struct.unpack_from` to ignore extra bytes * Unpack frame lengths all at once * Compute frame `end` once * Run `black`
- Loading branch information