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

Method Marshal

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

Source from the content-addressed store, hash-verified

3467}
3468
3469func (m *ReadRequest) Marshal() (dAtA []byte, err error) {
3470 size := m.Size()
3471 dAtA = make([]byte, size)
3472 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3473 if err != nil {
3474 return nil, err
3475 }
3476 return dAtA[:n], nil
3477}
3478
3479func (m *ReadRequest) MarshalTo(dAtA []byte) (int, error) {
3480 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected