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

Method Marshal

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

Source from the content-addressed store, hash-verified

5639}
5640
5641func (m *LinkSlice) Marshal() (dAtA []byte, err error) {
5642 size := m.Size()
5643 dAtA = make([]byte, size)
5644 n, err := m.MarshalToSizedBuffer(dAtA[:size])
5645 if err != nil {
5646 return nil, err
5647 }
5648 return dAtA[:n], nil
5649}
5650
5651func (m *LinkSlice) MarshalTo(dAtA []byte) (int, error) {
5652 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected