package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

ReadUvarint is a convenience wrapper around [binary.ReadUvarint].
ReadVarint is a convenience wrapper around [binary.ReadVarint].
UvarintSize returns the number of bytes needed to encode x.
VarintSize returns the number of bytes needed to encode x.
WriteUvarint writes an encoded unsigned integer to w.
WriteVarint writes an encoded signed integer to w.

# Variables

Discard is a [Writer] for which all calls succeed without doing anything.

# Interfaces

Reader is an interface that combines an [io.Reader] and an [io.ByteReader].
Writer is an interface that combines an [io.Writer] and an [io.ByteWriter].