6 Commits
Author SHA1 Message Date
dualfroz b4654a48b0 Describe this repository 2026-10-22 21:03:58 +02:00
dualfroz f87ec7522c Make SetHeaderNormalizer safe to call while decoding
SetHeaderNormalizer reassigned the normalizer and copied a fresh sync.Map
over the struct info cache while other goroutines were using it. Keep both
in one value swapped atomically instead. Fixes #237.
2026-10-02 16:20:31 +02:00
dualfroz 5f7829feee Fix date layout in README and full example 2026-10-02 15:53:20 +02:00
dualfroz 90a1c52508 Add MarshalBytesWithoutHeaders 2026-10-02 15:52:52 +02:00
dualfroz 26aafe16a8 fix: parse integer fields as base 10
toInt and toUint passed base 0 to strconv, which infers the base from the
literal the way the Go compiler does. A zero-padded CSV field was then
read as octal: 08 and 09 failed with invalid syntax and 010 silently
parsed as 8.

Pass base 10 at both call sites. Go-style prefixed literals such as 0x1f
are no longer accepted; they were undocumented and untested, and cannot
be kept without keeping the octal reading of 010 as well.

Closes #182
2026-09-04 07:41:12 +02:00
dualfroz 9bc91ef163 fix: parse integer fields as base 10
toInt and toUint passed base 0 to strconv, which infers the base from the
literal the way the Go compiler does. A zero-padded CSV field was then
read as octal: 08 and 09 failed with invalid syntax and 010 silently
parsed as 8.

Pass base 10 at both call sites. Go-style prefixed literals such as 0x1f
are no longer accepted; they were undocumented and untested, and cannot
be kept without keeping the octal reading of 010 as well.

Closes #182
2026-09-04 22:08:59 +02:00