MCPcopy
hub / github.com/grafana/tempo / Marshal

Method Marshal

tempodb/backend/v1.pb.go:491–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

489}
490
491func (m *TenantIndex) Marshal() (dAtA []byte, err error) {
492 size := m.Size()
493 dAtA = make([]byte, size)
494 n, err := m.MarshalToSizedBuffer(dAtA[:size])
495 if err != nil {
496 return nil, err
497 }
498 return dAtA[:n], nil
499}
500
501func (m *TenantIndex) MarshalTo(dAtA []byte) (int, error) {
502 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected