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

Method MarshalTo

ring/partition_ring_desc.pb.go:568–571  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

566}
567
568func (m *PartitionRingDesc) MarshalTo(dAtA []byte) (int, error) {
569 size := m.Size()
570 return m.MarshalToSizedBuffer(dAtA[:size])
571}
572
573func (m *PartitionRingDesc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
574 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected