Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagZero = 1 FlagNegative = 2 FlagSkip = 3 )
View Source
const ( CompressModeNone = 0xF0 CompressModeSame = 0xF1 CompressModeAllZero = 0xF2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitMap ¶
type BitMap struct {
// contains filtered or unexported fields
}
func (*BitMap) SetNegative ¶
type Compressor ¶
type Compressor struct {
// contains filtered or unexported fields
}
func (*Compressor) Prepare ¶
func (c *Compressor) Prepare(data []float64) *EncodeContext
type Decompressor ¶
type Decompressor struct {
// contains filtered or unexported fields
}
func (*Decompressor) Decode ¶
func (d *Decompressor) Decode(data []byte) []float64
type EncodeContext ¶
type EncodeContext struct {
// contains filtered or unexported fields
}
func (*EncodeContext) AllSkip ¶
func (ctx *EncodeContext) AllSkip() bool
func (*EncodeContext) RepeatedBlockCount ¶
func (ctx *EncodeContext) RepeatedBlockCount() int
func (*EncodeContext) Same ¶
func (ctx *EncodeContext) Same() bool
func (*EncodeContext) UpdateMinMax ¶
func (ctx *EncodeContext) UpdateMinMax(f float64)
Click to show internal directories.
Click to hide internal directories.