Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CompNone = enrollComp("none") CompSnappy = enrollComp("snappy") CompS2 = enrollComp("s2") CompZip = enrollComp("zip") CompGzip = enrollComp("gzip") CompPgZip = enrollComp("pgzip") CompZStd = enrollComp("zstd") CompZLib = enrollComp("zlib") CompFlate = enrollComp("flate") )
Functions ¶
func NewFileCompress ¶
Types ¶
type BufferCompress ¶
type BufferCompress struct {
// contains filtered or unexported fields
}
func NewBufferCompress ¶
type CompReadWriteCloser ¶
type CompReadWriteCloser struct {
// contains filtered or unexported fields
}
CompReadWriteCloser implements io.ReadWriteCloser
func NewCompReadWriteCloser ¶
func NewCompReadWriteCloser(compAlgo Comp, param *CompParam, rwc io.ReadWriteCloser) (*CompReadWriteCloser, error)
NewCompReadWriteCloser create compress-orient ReadWriteCloser.
func (*CompReadWriteCloser) Close ¶
func (c *CompReadWriteCloser) Close() error
Close implements io.ReadWriteCloser.
type FileCompress ¶
type FileCompress struct { }
Click to show internal directories.
Click to hide internal directories.