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

Method Marshal

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

Source from the content-addressed store, hash-verified

4582}
4583
4584func (m *ServiceStats) Marshal() (dAtA []byte, err error) {
4585 size := m.Size()
4586 dAtA = make([]byte, size)
4587 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4588 if err != nil {
4589 return nil, err
4590 }
4591 return dAtA[:n], nil
4592}
4593
4594func (m *ServiceStats) MarshalTo(dAtA []byte) (int, error) {
4595 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected