Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + type Appender interface + Append func(int64, float64) + type Chunk interface + Appender func() (Appender, error) + Bytes func() []byte + Encoding func() Encoding + Iterator func(Iterator) Iterator + NumSamples func() int + func FromData(e Encoding, d []byte) (Chunk, error) + type Encoding uint8 + const EncNone + const EncXOR + func (e Encoding) String() string + type Iterator interface + At func() (int64, float64) + Err func() error + Next func() bool + func NewNopIterator() Iterator + type Pool interface + Get func(e Encoding, b []byte) (Chunk, error) + Put func(Chunk) error + func NewPool() Pool + type XORChunk struct + func NewXORChunk() *XORChunk + func (c *XORChunk) Appender() (Appender, error) + func (c *XORChunk) Bytes() []byte + func (c *XORChunk) Encoding() Encoding + func (c *XORChunk) Iterator(it Iterator) Iterator + func (c *XORChunk) NumSamples() int