MCPcopy Create free account
hub / github.com/datastax/cql-proxy / Name

Method Name

proxy/proxy_test.go:489–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

487type lz4Compressor struct{}
488
489func (l lz4Compressor) Name() string {
490 return "lz4"
491}
492
493func (l lz4Compressor) Encode(data []byte) ([]byte, error) {
494 maxCompressedSize := lz4.CompressBlockBound(len(data)) + sizeOfUint32

Callers 4

RunFunction · 0.80
TestProxy_CompressionFunction · 0.80
writeTempYamlFunction · 0.80
writeBundleBytesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected