Add zlib-specific codec initialization
authorStella Lau <laus@fb.com>
Tue, 22 Aug 2017 01:15:27 +0000 (18:15 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 22 Aug 2017 01:20:34 +0000 (18:20 -0700)
commit2ca5653ce3e8bc8b4af80651b26288326e898969
treec1cc53aeb84acee7909f7addb7a84835d7f78e36
parentf372f154be5b9c44a7e0322d6fd64166485688ec
Add zlib-specific codec initialization

Summary:
- Create interface to initialize zlib codec using specific parameters
- This enables the raw inflate/deflate and auto inflate options
- Add tests for option initialization

Reviewed By: terrelln, yfeldblum

Differential Revision: D5649980

fbshipit-source-id: fd36e8edc0e8c528cd6c9d8f39e8ef839b6acfef
folly/Makefile.am
folly/io/Compression.cpp
folly/io/compression/Utils.h [new file with mode: 0644]
folly/io/compression/Zlib.cpp [new file with mode: 0644]
folly/io/compression/Zlib.h [new file with mode: 0644]
folly/io/test/CompressionTest.cpp