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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

6760}
6761
6762func (m *SrcFunction) MarshalTo(dAtA []byte) (int, error) {
6763 size := m.Size()
6764 return m.MarshalToSizedBuffer(dAtA[:size])
6765}
6766
6767func (m *SrcFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) {
6768 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected