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

Method MarshalTo

pkg/tempopb/tempo.pb.go:5438–5441  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

5436}
5437
5438func (m *Trace) MarshalTo(dAtA []byte) (int, error) {
5439 size := m.Size()
5440 return m.MarshalToSizedBuffer(dAtA[:size])
5441}
5442
5443func (m *Trace) MarshalToSizedBuffer(dAtA []byte) (int, error) {
5444 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected