mirror of
https://github.com/golang/go
synced 2024-11-27 04:01:19 -07:00
35a92f92bd
This adds a straight-forward implementation of the functionality. A more performant version could be added that unrolls the loop as is done in google.golang.org/protobuf/encoding/protowire, but usages that demand high performance can use that package instead. Fixes #51644 Change-Id: I9d3b615a60cdff47e5200e7e5d2276adf4c93783 Reviewed-on: https://go-review.googlesource.com/c/go/+/400176 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Joseph Tsai <joetsai@digital-static.net> TryBot-Result: Gopher Robot <gobot@golang.org>
3 lines
142 B
Plaintext
3 lines
142 B
Plaintext
pkg encoding/binary, func AppendUvarint([]uint8, uint64) []uint8 #51644
|
|
pkg encoding/binary, func AppendVarint([]uint8, int64) []uint8 #51644
|