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.15.0
Published
Aug 3, 2018
Platform
linux/amd64
Last checked
8 minutes ago

Tools for package owners.