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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

7341}
7342
7343func (m *Member) MarshalTo(dAtA []byte) (int, error) {
7344 size := m.Size()
7345 return m.MarshalToSizedBuffer(dAtA[:size])
7346}
7347
7348func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) {
7349 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected