MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / MarshalTo

Method MarshalTo

bitmap/pb.pb.go:7184–7187  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

7182}
7183
7184func (m *SortMessage) MarshalTo(dAtA []byte) (int, error) {
7185 size := m.Size()
7186 return m.MarshalToSizedBuffer(dAtA[:size])
7187}
7188
7189func (m *SortMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
7190 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected