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

Method Marshal

pkg/ingester/client/ingester.pb.go:3543–3551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3541}
3542
3543func (m *QueryResponse) Marshal() (dAtA []byte, err error) {
3544 size := m.Size()
3545 dAtA = make([]byte, size)
3546 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3547 if err != nil {
3548 return nil, err
3549 }
3550 return dAtA[:n], nil
3551}
3552
3553func (m *QueryResponse) MarshalTo(dAtA []byte) (int, error) {
3554 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected