mirror of
https://github.com/FiloSottile/age.git
synced 2026-09-04 07:07:16 +00:00
The trailing data check after a full-length final chunk ignored the byte count, so a reader returning (1, io.EOF), as io.Reader permits, would have its trailing data silently accepted, and a transient (0, nil) return would be misreported as trailing data. io.ReadFull handles both.