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

Method MarshalTo

ring/ring.pb.go:466–469  ·  ring/ring.pb.go::Desc.MarshalTo
(dAtA []byte)

Source from the content-addressed store, hash-verified

464}
465
466func (m *Desc) MarshalTo(dAtA []byte) (int, error) {
467 size := m.Size()
468 return m.MarshalToSizedBuffer(dAtA[:size])
469}
470
471func (m *Desc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
472 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected