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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

3243}
3244
3245func (m *Exemplar) MarshalTo(dAtA []byte) (int, error) {
3246 size := m.Size()
3247 return m.MarshalToSizedBuffer(dAtA[:size])
3248}
3249
3250func (m *Exemplar) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3251 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected