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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2865}
2866
2867func (m *MetadataV2) MarshalTo(dAtA []byte) (int, error) {
2868 size := m.Size()
2869 return m.MarshalToSizedBuffer(dAtA[:size])
2870}
2871
2872func (m *MetadataV2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2873 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected