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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

8885}
8886
8887func (m *PostingList) MarshalTo(dAtA []byte) (int, error) {
8888 size := m.Size()
8889 return m.MarshalToSizedBuffer(dAtA[:size])
8890}
8891
8892func (m *PostingList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
8893 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected