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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2715}
2716
2717func (m *TimeSeriesV2) MarshalTo(dAtA []byte) (int, error) {
2718 size := m.Size()
2719 return m.MarshalToSizedBuffer(dAtA[:size])
2720}
2721
2722func (m *TimeSeriesV2) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2723 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected