Files
wuffs/lib
rootkiller6788 05a8209fa7 lib/suitar: reset bIndex after flushing a full block
Write left w.bIndex at 512 once a full block had been written out, so the
next loop iteration took the "partial block" branch, copied zero bytes and
went round again forever, writing the same 512 bytes over and over. Calling
Write with sizes that aren't multiples of 512 is enough to hit this.

It also duplicated the last data block when a Write call happened to end
exactly on a block boundary, because flush then saw a non-zero bIndex and
wrote the block out a second time.
2026-09-12 23:48:01 +08:00
..
2026-06-19 20:28:56 +10:00
2025-02-11 15:45:38 +11:00
2019-08-06 10:57:30 +10:00

This directory contains Go packages that aren't specific to the Wuffs language. These packages may be useful to other Go software, outside of this repository, that have nothing to do with Wuffs per se.

Other (Wuffs-specific) packages are in the sibling ../lang directory.