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

Method MarshalTo

tempodb/backend/v1.pb.go:501–504  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

499}
500
501func (m *TenantIndex) MarshalTo(dAtA []byte) (int, error) {
502 size := m.Size()
503 return m.MarshalToSizedBuffer(dAtA[:size])
504}
505
506func (m *TenantIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) {
507 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected