Documentation
¶
Index ¶
- Constants
- func GetGzipReader(r io.Reader) (*gzip.Reader, error)
- func GetGzipWriter(w io.Writer) *gzip.Writer
- func GetLz4Writer(w io.Writer) *lz4.Writer
- func GetSnappyReader(r io.Reader) *snappy.Reader
- func GetSnappyWriter(w io.Writer) *snappy.Writer
- func GetZstdReader(r io.Reader) *zstd.Decoder
- func GetZstdWriter(w io.Writer) *zstd.Encoder
- 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 PutGzipWriter(gz *gzip.Writer)
- func PutLz4Writer(lz4Writer *lz4.Writer)
- func PutSnappyReader(snappyReader *snappy.Reader)
- func PutSnappyWriter(snappyWriter *snappy.Writer)
- func PutZstdReader(zstdDecoder *zstd.Decoder)
- func PutZstdWriter(zstdEncoder *zstd.Encoder)
- func SnappyDecoding(in, out []byte) ([]byte, error)
- func SnappyEncoding(in []byte, out []byte) ([]byte, error)
- type Context
- type Float
- type RLE
Constants ¶
View Source
const FloatCompressAlgorithmMLF = "mlf"
View Source
const (
RLEBlockLimit = 1 << 14
)
Variables ¶
This section is empty.
Functions ¶
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 PutGzipWriter ¶ added in v1.4.0
func PutLz4Writer ¶ added in v1.4.0
func PutSnappyReader ¶ added in v1.4.0
func PutSnappyWriter ¶ added in v1.4.0
func PutZstdReader ¶ added in v1.4.0
func PutZstdWriter ¶ added in v1.4.0
func SnappyDecoding ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func GenerateContext ¶
func (*Context) NotCompress ¶
Click to show internal directories.
Click to hide internal directories.