Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ unmarshalPb
Method
unmarshalPb
tempodb/backend/tenantindex.go:77–84 ·
view source on GitHub ↗
(buffer []byte)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
(b *TenantIndex) unmarshalPb(buffer []byte) error {
78
bb, err := Zstd.Decode(buffer)
79
if
err != nil {
80
return
fmt.Errorf(
"error decoding zstd: %w"
, err)
81
}
82
83
return
b.Unmarshal(bb)
84
}
Callers
4
tenantIndexProto
Method · 0.95
TestWriter
Function · 0.95
TestIndexMarshalUnmarshal
Function · 0.95
BenchmarkIndexUnmarshal
Function · 0.80
Calls
2
Unmarshal
Method · 0.95
Decode
Method · 0.65
Tested by
3
TestWriter
Function · 0.76
TestIndexMarshalUnmarshal
Function · 0.76
BenchmarkIndexUnmarshal
Function · 0.64