commit | 8003f08e512d166721d584db3033d7764f1a9a6b | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Aug 02 15:13:00 2019 -0700 |
committer | Damien Neil <dneil@google.com> | Mon Aug 05 21:44:30 2019 +0000 |
tree | 56abc9ac66d63aca0ffb8ba2489f79c71255bf18 | |
parent | afd3633ce3ba0318ee242e4971734b116f890ae5 [diff] |
proto, internal/impl: zero-length proto2 bytes fields should be non-nil Fix decoding of zero-length bytes fields to produce a non-nil []byte. Change-Id: Ifb7791a47df81091700f7226523371d1386fb1ad Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/188765 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.