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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

1348}
1349
1350func (m *GroupStateDesc) MarshalTo(dAtA []byte) (int, error) {
1351 size := m.Size()
1352 return m.MarshalToSizedBuffer(dAtA[:size])
1353}
1354
1355func (m *GroupStateDesc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1356 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected