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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2154}
2155
2156func (m *Extent) MarshalTo(dAtA []byte) (int, error) {
2157 size := m.Size()
2158 return m.MarshalToSizedBuffer(dAtA[:size])
2159}
2160
2161func (m *Extent) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2162 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected