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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

1499}
1500
1501func (m *AlertStateDesc) MarshalTo(dAtA []byte) (int, error) {
1502 size := m.Size()
1503 return m.MarshalToSizedBuffer(dAtA[:size])
1504}
1505
1506func (m *AlertStateDesc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1507 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected