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

Method Marshal

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

Source from the content-addressed store, hash-verified

4732}
4733
4734func (m *SearchMetrics) Marshal() (dAtA []byte, err error) {
4735 size := m.Size()
4736 dAtA = make([]byte, size)
4737 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4738 if err != nil {
4739 return nil, err
4740 }
4741 return dAtA[:n], nil
4742}
4743
4744func (m *SearchMetrics) MarshalTo(dAtA []byte) (int, error) {
4745 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected