1
0
mirror of https://github.com/golang/go synced 2024-11-20 05:04:43 -07:00
go/src/encoding/binary
Stan Schwertly a48e789635 encoding/binary: check for unsigned integers in intDataSize.
intDataSize ignores unsigned integers, forcing reads/writes to miss the fast path.

Fixes #8956

Change-Id: Ie79b565b037db3c469aa1dc6d0a8a5a9252d5f0a
Reviewed-on: https://go-review.googlesource.com/1777
Reviewed-by: Russ Cox <rsc@golang.org>
2014-12-22 20:14:59 +00:00
..
binary_test.go encoding/binary: fix error message 2014-10-02 12:53:51 -07:00
binary.go encoding/binary: check for unsigned integers in intDataSize. 2014-12-22 20:14:59 +00:00
example_test.go
varint_test.go
varint.go