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

Method MarshalTo

pkg/cortexpb/cortex.pb.go:2642–2645  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

2640}
2641
2642func (m *WriteRequestV2) MarshalTo(dAtA []byte) (int, error) {
2643 size := m.Size()
2644 return m.MarshalToSizedBuffer(dAtA[:size])
2645}
2646
2647func (m *WriteRequestV2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2648 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected