Documentation
¶
Index ¶
- Constants
- func GetGzipReader(r io.Reader) (*gzip.Reader, error)
- func GetGzipWriter(w io.Writer) (io.Writer, func())
- func GetLz4Writer(w io.Writer) (io.Writer, func())
- func GetSnappyBlockWriter(w io.Writer) (io.Writer, func())
- func GetSnappyWriter(w io.Writer) (io.Writer, func())
- func GetZstdWriter(w io.Writer) (io.Writer, func())
- func GorillaDecoding(in []byte, out []byte) ([]byte, error)
- func GorillaEncoding(in []byte, out []byte) ([]byte, error)
- func Init()
- func IsEnableMLF() bool
- func PutGzipReader(zr *gzip.Reader)
- func SnappyDecoding(in, out []byte) ([]byte, error)
- func SnappyEncoding(in []byte, out []byte) ([]byte, error)
- type Context
- type Float
- type RLE
- type SnappyBlockWriter
Constants ¶
View Source
const FloatCompressAlgorithmMLF = "mlf"
View Source
const (
RLEBlockLimit = 1 << 14
)
Variables ¶
This section is empty.
Functions ¶
func GetSnappyBlockWriter ¶ added in v1.4.1
func IsEnableMLF ¶ added in v1.3.0
func IsEnableMLF() bool
func PutGzipReader ¶ added in v1.4.0
PutGzipReader returns back gzip reader obtained via GetGzipReader.
func SnappyDecoding ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func GenerateContext ¶
func (*Context) NotCompress ¶
type SnappyBlockWriter ¶ added in v1.4.1
type SnappyBlockWriter struct {
// contains filtered or unexported fields
}
func NewSnappyBlockWriter ¶ added in v1.4.1
func NewSnappyBlockWriter(w io.Writer) *SnappyBlockWriter
func (*SnappyBlockWriter) Close ¶ added in v1.4.1
func (w *SnappyBlockWriter) Close() error
func (*SnappyBlockWriter) Reset ¶ added in v1.4.1
func (w *SnappyBlockWriter) Reset(writer io.Writer)
Click to show internal directories.
Click to hide internal directories.