# Functions
Compress places the canary byte in a buffer and uses the same buffer to fill in the compressed information of the given input.
DecodeJSON tries to decompress the given data.
Decodes/Unmarshals the given io.Reader pointing to a JSON, into a desired object.
Decompress checks if the first byte in the input matches the canary byte.
Encodes/Marshals the given object into JSON.
EncodeJSONAndCompress encodes the given input into JSON and compresses the encoded value (using Gzip format BestCompression level, by default).
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CompressionConfig is used to select a compression type to be performed by Compress and Decompress utilities.
SnappyReadCloser embeds the snappy reader which implements the io.Reader interface.