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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

7248}
7249
7250func (m *SortResult) MarshalTo(dAtA []byte) (int, error) {
7251 size := m.Size()
7252 return m.MarshalToSizedBuffer(dAtA[:size])
7253}
7254
7255func (m *SortResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
7256 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected