Avoid unnecessary memory reallocations

Before increasing the size of the buffer, it wasn't verified if there was
still room left for the new compressed data chunk.
1 file changed
tree: 98a4ec865d45b49cbfb49383584da1411c135ac9
  1. c_src/
  2. src/
  3. support/
  4. test/
  5. .gitignore
  6. Makefile
  7. README.md
  8. rebar
  9. rebar.config
  10. TODO.txt
README.md

snappy-erlang-nif

This is an Erlang NIF for Google's snappy fast compressor and decompressor.

Google snappy's official repository and bug tracking system is at:

Its source is included in this project.