diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2019-04-12 09:29:43 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2019-04-12 19:15:34 +0000 |
| commit | 134ef176f0ebe7e47cd69a400f73cb310a3152c0 (patch) | |
| tree | 4ccbe80ae9d92a63a66171e5a6eab1a99c43d5cc /src/encoding/json | |
| parent | c70a7849af56828462ed7d2a5051d917ef6432dc (diff) | |
| download | go-134ef176f0ebe7e47cd69a400f73cb310a3152c0.tar.xz | |
cmd/link, cmd/internal/obj: use encoding/binary for varint
This code was written before the c2go toolchain conversion.
Replace the handwritten varint encoding routines
and the handwritten unsigned-to-signed conversions
with calls to encoding/binary.
Passes toolstash-check.
Change-Id: I30d7f408cde3772ee98a3825e83075c4e1ec96d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/171769
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
