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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

8535}
8536
8537func (m *Proposal) MarshalTo(dAtA []byte) (int, error) {
8538 size := m.Size()
8539 return m.MarshalToSizedBuffer(dAtA[:size])
8540}
8541
8542func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
8543 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected