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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

9115}
9116
9117func (m *Function) MarshalTo(dAtA []byte) (int, error) {
9118 size := m.Size()
9119 return m.MarshalToSizedBuffer(dAtA[:size])
9120}
9121
9122func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error) {
9123 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected