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

Method MarshalTo

pkg/querier/tripperware/query.pb.go:2060–2063  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

2058}
2059
2060func (m *PrometheusData) MarshalTo(dAtA []byte) (int, error) {
2061 size := m.Size()
2062 return m.MarshalToSizedBuffer(dAtA[:size])
2063}
2064
2065func (m *PrometheusData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2066 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected