protobuf-go/internal/encoding/text
Edward McFarlane 05cbe34333 encoding: add MarshalAppend to protojson and prototext
Adds MarshalAppend methods to allow for byte slices to be reused.
Copies signature from the binary encoding.

Small changes to internal json and text libraries to use strconv
AppendInt and AppendUint for number encoding.

Change-Id: Ife7c8979c1c153a0a0bf9b70b296b8158d38dffc
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489615
Reviewed-by: Edward McFarlane <emcfarlane000@gmail.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Lasse Folger <lassefolger@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-05-01 15:10:15 +00:00
..
decode_number.go internal/encoding/text: fix parsing of incomplete numbers 2023-03-14 07:09:30 +00:00
decode_string.go
decode_test.go internal/encoding/text: fix parsing of incomplete numbers 2023-03-14 07:09:30 +00:00
decode_token.go
decode.go
doc.go
encode_test.go encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
encode.go encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00