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``.
1 file changed
tree: dd983a289de3ac3e59b47d924a7d825f5404bdce
  1. ext/
  2. .travis.yml
  3. LICENSE
  4. README.md
README.md

Overview

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.

Documentation

We have generated Go Doc documentation here.

Testing

Build Status