1
0
mirror of https://github.com/golang/go synced 2024-09-23 23:20:14 -06:00
go/api/next
Joe Tsai 35a92f92bd encoding/binary: add AppendVarint AppendUvarint
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>
2022-04-15 01:19:37 +00:00
..
35044.txt crypto/x509: add CertPool.Clone 2022-04-13 19:04:59 +00:00
42710.txt hash/maphash: add Bytes and String 2022-04-05 18:01:26 +00:00
45628.txt encoding/xml: expose decoder line and column 2022-03-27 20:26:46 +00:00
45754.txt
46057.txt api: add x509.CertPool.Equal to next/46057.txt 2022-04-05 03:54:36 +00:00
46059.txt
46121.txt html/template: make FuncMap a type alias of text/template.FuncMap 2022-03-31 00:54:34 +00:00
46229.txt debug: define ELF relocation for loong64 2022-04-04 21:43:42 +00:00
47005.txt
50340.txt sort: add Find function 2022-04-07 14:42:13 +00:00
50601.txt
50674.txt crypto/x509: add new CRL parser, deprecate old one 2022-04-05 23:32:55 +00:00
51082.txt go/doc: use go/doc/comment 2022-04-11 16:31:52 +00:00
51414.txt
51644.txt encoding/binary: add AppendVarint AppendUvarint 2022-04-15 01:19:37 +00:00
51868.txt debug/pe: add APIs for reading section def aux info 2022-03-31 14:57:35 +00:00
regexpdepth.txt regexp/syntax: add and use ErrInvalidDepth 2022-04-04 10:59:27 +00:00