Skip to content

Tags: philhofer/fwd

Tags

v1.1.2

add go.mod

I used go1.14 as version, to match other projects consuming this
module (e.g. github.com/tinylib/msgp).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

v1.1.1

reader: fix Skip(n) where n >= buffer size

The (*Reader).Skip() code did not handle skip sizes
above the buffer size correctly, because the inner
reader loop only looped while 'r.buffered() < n', and
that condition is obviously violated when the reader
successfully buffers more bytes than are to be skipped.

Refactor this method to be a little shorter and hopefully
much clearer (and more correct) and add test coverage that
exercises this code better.

v1.1.0

Add Reader/Writer constructors with custom buffer

v1.0.0

Merge pull request #15 from EdwardBetts/spelling

correct spelling mistake