compressutil

package
v0.0.0-...-8cd308e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package compressutil a plugin to handle compression and decompression tasks

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(byteReader *bytes.Buffer, encoding string) (data []byte, err error)

Decode data in a bytes.Reader based on supplied encoding.

func Encode

func Encode(data []byte, encoding string) ([]byte, error)

Encode data in a []byte based on supplied encoding.

Types

type ReaderError

type ReaderError struct {
	// contains filtered or unexported fields
}

ReaderError for notating that an error occurred while reading compressed data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL