MCPcopy Create free account
hub / github.com/google/pprof / decodeString

Function decodeString

profile/proto.go:357–363  ·  view source on GitHub ↗
(b *buffer, x *string)

Source from the content-addressed store, hash-verified

355}
356
357func decodeString(b *buffer, x *string) error {
358 if err := checkType(b, 2); err != nil {
359 return err
360 }
361 *x = string(b.data)
362 return nil
363}
364
365func decodeStrings(b *buffer, x *[]string) error {
366 var s string

Callers 1

decodeStringsFunction · 0.85

Calls 1

checkTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…