MCPcopy
hub / github.com/grafana/dskit / MarshalTo

Method MarshalTo

httpgrpc/httpgrpc.pb.go:485–488  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

483}
484
485func (m *HTTPRequest) MarshalTo(dAtA []byte) (int, error) {
486 size := m.Size()
487 return m.MarshalToSizedBuffer(dAtA[:size])
488}
489
490func (m *HTTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
491 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected