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

Method Marshal

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

Source from the content-addressed store, hash-verified

3504}
3505
3506func (m *ReadResponse) Marshal() (dAtA []byte, err error) {
3507 size := m.Size()
3508 dAtA = make([]byte, size)
3509 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3510 if err != nil {
3511 return nil, err
3512 }
3513 return dAtA[:n], nil
3514}
3515
3516func (m *ReadResponse) MarshalTo(dAtA []byte) (int, error) {
3517 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected