protobuf-go/proto
Damien Neil 0d3e8cc096 proto, runtime/protoiface: add support for fast-path marshaling
Allow message implementations to provide optimized versions of standard
operations. Generated messages now include a ProtoReflectMethods method,
returning a protoiface.Methods struct containing pointers to assorted
optional functions.

The Methods struct also includes a Flags field indicating support for
optional features such as deterministic marshaling.

Implementation of the fast paths (and tests) will come in later CLs.

Change-Id: Idd1beed0ecf43ec5e5e7b8da2ee1e08d3ce32213
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170340
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-04-02 21:23:04 +00:00
..
decode_gen.go
decode_test.go proto: add generic Size 2019-03-27 17:25:13 +00:00
decode.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
encode_gen.go proto: wire encoding support 2019-03-14 19:12:27 +00:00
encode_test.go proto: add generic Size 2019-03-27 17:25:13 +00:00
encode.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
proto.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
size_gen.go proto: add generic Size 2019-03-27 17:25:13 +00:00
size.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00