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