Better disabling of compression types

This commit is contained in:
Caleb Gardner
2025-03-17 06:53:29 -05:00
parent 88315ee384
commit f242de2710
9 changed files with 61 additions and 139 deletions
+4
View File
@@ -10,6 +10,10 @@ import (
type Lzo struct{}
func NewLzo() (Lzo, error) {
return Lzo{}, nil
}
func (l Lzo) Decompress(data []byte) ([]byte, error) {
return lzo.Decompress1X(bytes.NewReader(data), len(data), 0)
}