MCPcopy Create free account
hub / github.com/cortexproject/cortex / MarshalTo

Method MarshalTo

pkg/ring/ring.pb.go:383–386  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

381}
382
383func (m *Desc) MarshalTo(dAtA []byte) (int, error) {
384 size := m.Size()
385 return m.MarshalToSizedBuffer(dAtA[:size])
386}
387
388func (m *Desc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
389 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected