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

Method Marshal

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

Source from the content-addressed store, hash-verified

4106}
4107
4108func (m *TraceByIDResponse) Marshal() (dAtA []byte, err error) {
4109 size := m.Size()
4110 dAtA = make([]byte, size)
4111 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4112 if err != nil {
4113 return nil, err
4114 }
4115 return dAtA[:n], nil
4116}
4117
4118func (m *TraceByIDResponse) MarshalTo(dAtA []byte) (int, error) {
4119 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected