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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

428}
429
430func (m *InstanceDesc) MarshalTo(dAtA []byte) (int, error) {
431 size := m.Size()
432 return m.MarshalToSizedBuffer(dAtA[:size])
433}
434
435func (m *InstanceDesc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
436 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected