Add zstd streaming interface
authorNick Terrell <terrelln@fb.com>
Wed, 24 May 2017 21:59:42 +0000 (14:59 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 24 May 2017 22:05:53 +0000 (15:05 -0700)
commite1d2ddd5dca9f7a4a3c83ae7bc8c0c59c58333c1
treeeec8aa0064fa6cf85eb797c154dcb336984b32fb
parent74560278227a11b3080a756d2fffb154caf9e2f1
Add zstd streaming interface

Summary:
* Add streaming interface to the `ZstdCodec`
* Implement `ZstdCodec::doCompress()` and `ZstdCodec::doUncompress()` using the streaming interface.
  [fbgs CodecType::ZSTD](https://fburl.com/pr8chg64) and check that no caller requires thread-safety.

Reviewed By: yfeldblum

Differential Revision: D5026558

fbshipit-source-id: 61faa25c71f5aef06ca2d7e0700f43214353c650
folly/io/Compression.cpp
folly/io/test/CompressionTest.cpp