fix ZSTD support
Summary: Existing logic is broken (unable to correctly handle chained `IOBuf` in case of both `compress` and `uncompress`) and has unnecessarly strict `needsUncompressedLength() == true` requirement. This diff switches `ZSTDCodec` to use streaming to handle chained `IOBuf`, drops `needsUncompressedLength() == true`. Reviewed By: luciang Differential Revision: D3827579 fbshipit-source-id: 0ef6a9ea664ef585d0e181bff6ca17166b28efc2
Showing
Please register or sign in to comment