package
1.9.0
Repository: https://github.com/grafana/pyroscope.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewBufferWriter returns a new BufferWriter.
NewFileReader returns a new index reader against the given index file.
NewReader returns a new index reader on the given byte slice.
NewSymbols returns a Symbols object for symbol lookups.
NewTOCFromByteSlice return parsed TOC from given index byte slice.
NewWriter returns a new Writer to the given filename.
No description provided by the author
ReadOffsetTable reads an offset table and at the given position calls f for each found entry.

# Constants

large for blocks.
FormatV1 represents 1 version of index.
FormatV2 represents 2 version of index.
HeaderLen represents number of bytes reserved of index for header.
No description provided by the author
MagicIndex 4 bytes at the head of an index file.
small for segments.

# Structs

No description provided by the author
Decoder provides decoding methods for the v1 and v2 index file format.
Metadata is TSDB-level metadata.
Range marks a byte range.
No description provided by the author
No description provided by the author
TOC represents index Table Of Content that states where each section of index starts.
Writer implements the IndexWriter interface for the standard serialization format.

# Interfaces

ByteSlice abstracts a byte slice.
StringIter iterates over a sorted list of strings.

# Type aliases

No description provided by the author