snappy: fix (1) encoding a 0-length input returned garbage, and
(2) decoding into an existing buffer returned excess bytes.

R=bradfitz
CC=golang-dev
http://codereview.appspot.com/6294045
3 files changed
tree: 426eafd8e0ced00c67eb20d00e9c7a7a9f2a746b
  1. lib/
  2. snappy/
  3. .hgignore
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. README