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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

3086}
3087
3088func (m *LabelPair) MarshalTo(dAtA []byte) (int, error) {
3089 size := m.Size()
3090 return m.MarshalToSizedBuffer(dAtA[:size])
3091}
3092
3093func (m *LabelPair) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3094 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected