Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultGzipCompressionLevel = gzip.DefaultCompression
)
View Source
const (
DefaultLz4CompressionLevel = 0
)
View Source
const (
DefaultZstdCompressionLevel = gozstd.DefaultCompressionLevel
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoCompression ¶
type NoCompression struct {
// contains filtered or unexported fields
}
func (*NoCompression) Close ¶
func (l *NoCompression) Close() error
func (*NoCompression) Flush ¶
func (l *NoCompression) Flush() error
func (*NoCompression) Reset ¶
func (l *NoCompression) Reset(w io.Writer)
func (*NoCompression) WriteString ¶
func (l *NoCompression) WriteString(s string) (int, error)
type SnappyWrite ¶
type SnappyWrite struct {
// contains filtered or unexported fields
}
func (*SnappyWrite) Close ¶
func (s *SnappyWrite) Close() error
func (*SnappyWrite) Flush ¶
func (s *SnappyWrite) Flush() error
func (*SnappyWrite) Reset ¶
func (s *SnappyWrite) Reset(w io.Writer)
func (*SnappyWrite) WriteString ¶
func (s *SnappyWrite) WriteString(st string) (int, error)
Click to show internal directories.
Click to hide internal directories.