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

Method Marshal

bitmap/pb.pb.go:9619–9627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9617}
9618
9619func (m *MovePredicatePayload) Marshal() (dAtA []byte, err error) {
9620 size := m.Size()
9621 dAtA = make([]byte, size)
9622 n, err := m.MarshalToSizedBuffer(dAtA[:size])
9623 if err != nil {
9624 return nil, err
9625 }
9626 return dAtA[:n], nil
9627}
9628
9629func (m *MovePredicatePayload) MarshalTo(dAtA []byte) (int, error) {
9630 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected