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

Method MarshalTo

pkg/cortexpb/cortex.pb.go:2905–2908  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

2903}
2904
2905func (m *StreamWriteRequest) MarshalTo(dAtA []byte) (int, error) {
2906 size := m.Size()
2907 return m.MarshalToSizedBuffer(dAtA[:size])
2908}
2909
2910func (m *StreamWriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2911 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected