Reset to zero

This commit is contained in:
Caleb Gardner
2023-12-19 03:23:24 -06:00
parent fcd8c4c85b
commit d4d1b2c2b2
35 changed files with 0 additions and 3014 deletions
-18
View File
@@ -1,18 +0,0 @@
package decompress
import (
"bytes"
"io"
"github.com/rasky/go-lzo"
)
type Lzo struct{}
func (l Lzo) Reader(r io.Reader) (io.ReadCloser, error) {
cache, err := lzo.Decompress1X(r, 0, 0)
if err != nil {
return nil, err
}
return io.NopCloser(bytes.NewReader(cache)), nil
}