package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

NewAggregatedDecoder creates an aggregated decoder.
NewAggregatedDecoderPool creates a new pool for aggregated decoders.
NewAggregatedEncoder creates a new aggregated encoder.
NewBuffer create a new buffer.
NewMockUnaggregatedEncoder creates a new mock instance.
NewUnaggregatedEncoder creates a new unaggregated encoder.
NewUnaggregatedIterator creates a new unaggregated iterator.
NewUnaggregatedOptions create a new set of unaggregated options.
ReuseAggregatedMetricProto allows for zero-alloc reuse of *metricpb.AggregatedMetric.
ReuseMetricWithMetadatasProto allows for zero-alloc reuse of *metricpb.MetricWithMetadatas by deep resetting the internal slices and when using gogoprotobuf's unmarshal function will reuse the slices and byte buffers already allocated on the message itself.

# Structs

AggregatedDecoder is a decoder for decoding aggregated metrics.
Buffer contains a byte slice backed by an optional bytes pool.
MockUnaggregatedEncoder is a mock of UnaggregatedEncoder interface.
MockUnaggregatedEncoderMockRecorder is the mock recorder for MockUnaggregatedEncoder.
UnaggregatedIterator decodes unaggregated metrics.

# Interfaces

AggregatedDecoderPool is a pool of aggregated decoders.
AggregatedEncoder is an encoder for encoding aggregated metrics.
UnaggregatedEncoder encodes unaggregated metrics.
UnaggregatedOptions provide a set of options for the unaggregated encoder and iterator.

# Type aliases

PoolReleaseFn is a function used to release underlying slice back to bytes pool.