go/src/internal/profile/encode.go

func (p *Profile) decoder() []decoder {}

// preEncode populates the unexported fields to be used by encode
// (with suffix X) from the corresponding exported fields. The
// exported fields are cleared up to facilitate testing.
func (p *Profile) preEncode() {}

func (p *Profile) encode(b *buffer) {}

var profileDecoder

// postDecode takes the unexported fields populated by decode (with
// suffix X) and populates the corresponding exported fields.
// The unexported fields are cleared up to facilitate testing.
func (p *Profile) postDecode() error {}

func (p *ValueType) decoder() []decoder {}

func (p *ValueType) encode(b *buffer) {}

var valueTypeDecoder

func (p *Sample) decoder() []decoder {}

func (p *Sample) encode(b *buffer) {}

var sampleDecoder

func (p Label) decoder() []decoder {}

func (p Label) encode(b *buffer) {}

var labelDecoder

func (p *Mapping) decoder() []decoder {}

func (p *Mapping) encode(b *buffer) {}

var mappingDecoder

func (p *Location) decoder() []decoder {}

func (p *Location) encode(b *buffer) {}

var locationDecoder

func (p *Line) decoder() []decoder {}

func (p *Line) encode(b *buffer) {}

var lineDecoder

func (p *Function) decoder() []decoder {}

func (p *Function) encode(b *buffer) {}

var functionDecoder

func addString(strings map[string]int, s string) int64 {}

func getString(strings []string, strng *int64, err error) (string, error) {}