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

Method Marshal

pkg/tempopb/tempo.pb.go:4478–4486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4476}
4477
4478func (m *TraceSearchMetadata) Marshal() (dAtA []byte, err error) {
4479 size := m.Size()
4480 dAtA = make([]byte, size)
4481 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4482 if err != nil {
4483 return nil, err
4484 }
4485 return dAtA[:n], nil
4486}
4487
4488func (m *TraceSearchMetadata) MarshalTo(dAtA []byte) (int, error) {
4489 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected