modulepackage
0.0.0-20240807194218-7122652ffea0
Repository: https://github.com/tech4works/compressor.git
Documentation: pkg.go.dev
# README
compressor
# Functions
ToDeflate compresses any given value into the Deflate format.
ToDeflateBase64 compresses a given value using Deflate method and then encodes the compressed data into a Base64 string.
ToDeflateBase64WithErr compresses any given value into the Deflate format and encodes the result into a Base64 string.
ToDeflateWithErr function converts and compresses any given value into the Deflate format.
ToGzip converts any given value into a byte array using GZIP compression.
ToGzipBase64 converts any given value into a GZIP compressed Base64 string.
ToGzipBase64WithErr converts any given value into a GZIP compressed Base64 string.
ToGzipWithErr converts any given value into a GZIP compressed byte array.