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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2548}
2549
2550func (m *WriteRequest) MarshalTo(dAtA []byte) (int, error) {
2551 size := m.Size()
2552 return m.MarshalToSizedBuffer(dAtA[:size])
2553}
2554
2555func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2556 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected