commit | 042d19e02e63861ea8b6e22b48e5ee5aef6492ad | [log] [tgz] |
---|---|---|
author | Matt T. Proud <matt.proud@gmail.com> | Fri Jul 12 16:06:02 2013 |
committer | Matt T. Proud <matt.proud@gmail.com> | Fri Jul 12 16:31:13 2013 |
tree | dd983a289de3ac3e59b47d924a7d825f5404bdce | |
parent | aef937669a1bdc9499adc48bb960e04d8c0662ec [diff] |
Short circuit decoding if no data after header. This commit introduces an immediate decode and exit behavior if the currently-extracted payload is the size of the initial header size for the varint, which prevents zero-length allocations with ``make``.
This repository provides various Protocol Buffer extensions for the Go language (golang), namely support for record length-delimited message streaming.
Until Code Review 9102043 is merged, this repository will exist here in the wild.
We have generated Go Doc documentation here.