rename UnCompressData to DecompressData

This commit is contained in:
Chris Lu
2020-06-20 08:16:16 -07:00
parent 97239ce6f1
commit 3080c197e3
7 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ func GzipData(input []byte) ([]byte, error) {
}
return buf.Bytes(), nil
}
func UnCompressData(input []byte) ([]byte, error) {
func DecompressData(input []byte) ([]byte, error) {
if IsGzippedContent(input) {
return ungzipData(input)
}