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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

10638}
10639
10640func (m *BulkMeta) MarshalTo(dAtA []byte) (int, error) {
10641 size := m.Size()
10642 return m.MarshalToSizedBuffer(dAtA[:size])
10643}
10644
10645func (m *BulkMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) {
10646 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected