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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

3007}
3008
3009func (m *TimeSeries) MarshalTo(dAtA []byte) (int, error) {
3010 size := m.Size()
3011 return m.MarshalToSizedBuffer(dAtA[:size])
3012}
3013
3014func (m *TimeSeries) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3015 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected