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

Method Marshal

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

Source from the content-addressed store, hash-verified

4615}
4616
4617func (m *SpanSet) Marshal() (dAtA []byte, err error) {
4618 size := m.Size()
4619 dAtA = make([]byte, size)
4620 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4621 if err != nil {
4622 return nil, err
4623 }
4624 return dAtA[:n], nil
4625}
4626
4627func (m *SpanSet) MarshalTo(dAtA []byte) (int, error) {
4628 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected