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

Method MarshalTo

pkg/ruler/ruler.pb.go:1415–1418  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

1413}
1414
1415func (m *RuleStateDesc) MarshalTo(dAtA []byte) (int, error) {
1416 size := m.Size()
1417 return m.MarshalToSizedBuffer(dAtA[:size])
1418}
1419
1420func (m *RuleStateDesc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1421 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected