blob: 381a56bdcfaa26225a1906327560d69e9d9e9320 [file] [log] [blame]
// +build !cgo
package sarama
import (
"errors"
)
var errZstdCgo = errors.New("zstd compression requires building with cgo enabled")
func zstdDecompress(dst, src []byte) ([]byte, error) {
return nil, errZstdCgo
}
func zstdCompressLevel(dst, src []byte, level int) ([]byte, error) {
return nil, errZstdCgo
}