mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
WriteHeader copied h into w.header before calling w.Write to emit the GNUTYPE_LONGNAME block holding the name. Write only accepts TypeReg and TypeGNUSparse, so a TypeDir header failed that call and left the Writer permanently in an error state - every later entry on the same Writer failed too. Set w.header after the name block has gone out instead.
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.