16ef5838c3
This is largely a move to simplify a lot of the readers Also further breaks out functions.
14 lines
191 B
Go
14 lines
191 B
Go
package decompress
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/pierrec/lz4/v4"
|
|
)
|
|
|
|
type Lz4 struct{}
|
|
|
|
func (l Lz4) Reader(r io.Reader) (io.ReadCloser, error) {
|
|
return io.NopCloser(lz4.NewReader(r)), nil
|
|
}
|