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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

9595}
9596
9597func (m *MapHeader) MarshalTo(dAtA []byte) (int, error) {
9598 size := m.Size()
9599 return m.MarshalToSizedBuffer(dAtA[:size])
9600}
9601
9602func (m *MapHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) {
9603 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected