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

Method XXX_Marshal

pkg/tempopb/tempo.pb.go:901–912  ·  view source on GitHub ↗
(b []byte, deterministic bool)

Source from the content-addressed store, hash-verified

899 return m.Unmarshal(b)
900}
901func (m *SpanSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
902 if deterministic {
903 return xxx_messageInfo_SpanSet.Marshal(b, m, deterministic)
904 } else {
905 b = b[:cap(b)]
906 n, err := m.MarshalToSizedBuffer(b)
907 if err != nil {
908 return nil, err
909 }
910 return b[:n], nil
911 }
912}
913func (m *SpanSet) XXX_Merge(src proto.Message) {
914 xxx_messageInfo_SpanSet.Merge(m, src)
915}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected