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

Method Marshal

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

Source from the content-addressed store, hash-verified

3684}
3685
3686func (m *QueryStreamResponse) Marshal() (dAtA []byte, err error) {
3687 size := m.Size()
3688 dAtA = make([]byte, size)
3689 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3690 if err != nil {
3691 return nil, err
3692 }
3693 return dAtA[:n], nil
3694}
3695
3696func (m *QueryStreamResponse) MarshalTo(dAtA []byte) (int, error) {
3697 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected