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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

2110}
2111
2112func (m *CachedResponse) MarshalTo(dAtA []byte) (int, error) {
2113 size := m.Size()
2114 return m.MarshalToSizedBuffer(dAtA[:size])
2115}
2116
2117func (m *CachedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2118 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected