]> Cypherpunks repositories - gostls13.git/commit
cmd/link,compress/zip,image/png: use binary.{Big,Little}Endian methods
authorLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 10 Sep 2018 19:07:09 +0000 (15:07 -0400)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 11 Sep 2018 15:14:56 +0000 (15:14 +0000)
commitaa4fc0e73654c0a8741d970bfca47c25125633cf
treea76a7e03ebdbebb83de72d0862d6c91b9996791b
parent9f2411894ba41d9032623cf637a62846397fec67
cmd/link,compress/zip,image/png: use binary.{Big,Little}Endian methods

Use the binary.{Big,Little}Endian integer encoding methods rather than
variations found in local implementations. The functions in
the binary package have been tested to ensure they inline correctly and
don't add unnecessary bounds checking.

Change-Id: Ie10111ca6edb7c11e8e5e21c58a5748ae99b7f87
Reviewed-on: https://go-review.googlesource.com/134375
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ppc64/asm.go
src/compress/zlib/writer.go
src/image/png/writer.go