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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

3157}
3158
3159func (m *MetricMetadata) MarshalTo(dAtA []byte) (int, error) {
3160 size := m.Size()
3161 return m.MarshalToSizedBuffer(dAtA[:size])
3162}
3163
3164func (m *MetricMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3165 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected