Minor tweaks

This commit is contained in:
Caleb Gardner
2025-06-06 14:27:35 -05:00
parent 0905141013
commit b2c8084f41
6 changed files with 33 additions and 21 deletions
+5 -1
View File
@@ -16,5 +16,9 @@ func NewZstd() Zstd {
}
func (z Zstd) Decompress(data []byte) ([]byte, error) {
return z.rdr.DecodeAll(data, nil)
dat, err := z.rdr.DecodeAll(data, nil)
if err != nil {
return nil, err
}
return dat, err
}