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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2206}
2207
2208func (m *SampleStream) MarshalTo(dAtA []byte) (int, error) {
2209 size := m.Size()
2210 return m.MarshalToSizedBuffer(dAtA[:size])
2211}
2212
2213func (m *SampleStream) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2214 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected