commit | 7c0096c86977a6345402445d1048134557c72820 | [log] [tgz] |
---|---|---|
author | Michael Stapelberg <stapelberg@golang.org> | Thu Jan 11 08:04:21 2024 |
committer | Michael Stapelberg <stapelberg@golang.org> | Fri Jan 12 08:42:50 2024 |
tree | 4c938957b360693f0ddc5718f3845dbc85d8a22f | |
parent | 5a0f9169fc38cc42a5c617c3dc049548ddc27487 [diff] |
Turn this package into a wrapper for protobuf/encoding/protodelim Since Go Protobuf v1.30.0, the protodelim package is available upstream. The only notable API difference is that protodelim does not return the number of bytes read, which is why I added the countingReader type to pbutil/decode.go.
This repository provides various Protocol Buffer feature extensions for the Go programming language (golang), namely support for record length-delimited message streaming.
Java | Go |
---|---|
MessageLite#parseDelimitedFrom | pbutil.ReadDelimited |
MessageLite#writeDelimitedTo | pbutil.WriteDelimited |
Because Code Review 9102043 is destined to never be merged into mainline (i.e., never be promoted to formal goprotobuf features), this repository will live here in the wild.
We have generated Go Doc documentation here.