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

Method MarshalTo

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

Source from the content-addressed store, hash-verified

9425}
9426
9427func (m *SchemaUpdate) MarshalTo(dAtA []byte) (int, error) {
9428 size := m.Size()
9429 return m.MarshalToSizedBuffer(dAtA[:size])
9430}
9431
9432func (m *SchemaUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
9433 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected