tagencoding

package
v0.20.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package tagencoding contains the tag encoding used interally by the stats collector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Values

type Values struct {
	Buffer     []byte
	WriteIndex int
	ReadIndex  int
}

Values represent the encoded buffer for the values.

func (*Values) Bytes

func (vb *Values) Bytes() []byte

Bytes returns a reference to already written bytes in the Buffer.

func (*Values) ReadValue

func (vb *Values) ReadValue() []byte

ReadValue is the helper method to decode Values to a map[Key][]byte.

func (*Values) WriteValue

func (vb *Values) WriteValue(v []byte)

WriteValue is the helper method to encode Values from map[Key][]byte.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL