Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEncoder = New()
DefaultEncoder proivdes a globally usable null encoder / DefaultEncoder Since all null compression / decompression actions are stateless it is safe
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct{}
Encoder compresses data without any algorithm
func New ¶
func New() *Encoder
New creates a new Null encoder which does not manipulate the original data in any way. It's meant to be used where no compression is desired
func (*Encoder) Compress ¶
Compress directly writes "data" to "dst" without any further manipulation
func (*Encoder) Decompress ¶
Decompress runs no decompression on the data read from src. It's directly written to "out"
Click to show internal directories.
Click to hide internal directories.