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

Method Marshal

kv/memberlist/propagation_tracker.pb.go:275–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
274}
275func (m *PropagationDelayTrackerDesc) Marshal() (dAtA []byte, err error) {
276 size := m.Size()
277 dAtA = make([]byte, size)
278 n, err := m.MarshalToSizedBuffer(dAtA[:size])
279 if err != nil {
280 return nil, err
281 }
282 return dAtA[:n], nil
283}
284
285func (m *PropagationDelayTrackerDesc) MarshalTo(dAtA []byte) (int, error) {
286 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected