We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8326c64 commit e15bfefCopy full SHA for e15bfef
internal/compression/zstd_nocgo.go
@@ -34,7 +34,7 @@ func getZstdCompressor(level int) *zstdCompressor {
34
// relies on CGo.
35
const UseStandardZstdLib = false
36
37
-func (z *zstdCompressor) Compress(compressedBuf, b []byte) []byte {
+func (z *zstdCompressor) Compress(compressedBuf, b []byte) ([]byte, Setting) {
38
if len(compressedBuf) < binary.MaxVarintLen64 {
39
compressedBuf = append(compressedBuf, make([]byte, binary.MaxVarintLen64-len(compressedBuf))...)
40
}
0 commit comments