go.opencensus.iogo.opencensus.io/internal/tagencoding Index | Files

package tagencoding

import "go.opencensus.io/internal/tagencoding"

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

Index

Types

type Values

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

func (*Values) Bytes

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

func (*Values) ReadValue

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

ReadValue is the helper method to read the values when decoding valuesBytes to a map[Key][]byte.

func (*Values) WriteValue

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

Source Files

tagencoding.go

Version
v0.10.0
Published
May 21, 2018
Platform
js/wasm
Last checked
2 hours ago

Tools for package owners.