func (lz *Lz4) Decompress(in io.Reader, out io.Writer) error {
	r := lz4.NewReader(in)
	_, err := io.Copy(out, r)
	return err
}
Decompress reads in, decompresses it, and writes it to out.
package archiver
import (
	"fmt"
	"io"
	"path/filepath"
	"github.com/pierrec/lz4"
)
type Lz4 struct {
	CompressionLevel int
}
func (lz *Lz4) Compress(in io.Reader, out io.Writer) error {
	w := lz4.NewWriter(out)
	w.Header.CompressionLevel = lz.CompressionLevel
	defer w.Close()
	_, err := io.Copy(w, in)
	return err
}