mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 02:34:09 +00:00
The reader cut every trailing zero byte off the Zstandard data before decoding it, to drop the padding after the last frame. A frame can end in a zero byte itself, and cutting it left the frame short, so the file failed to open with "its Zstandard compression is damaged". The reader now decodes frame after frame and stops when only zeros are left.