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

Method Marshal

bitmap/pb.pb.go:10539–10547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10537}
10538
10539func (m *UpdateGraphQLSchemaRequest) Marshal() (dAtA []byte, err error) {
10540 size := m.Size()
10541 dAtA = make([]byte, size)
10542 n, err := m.MarshalToSizedBuffer(dAtA[:size])
10543 if err != nil {
10544 return nil, err
10545 }
10546 return dAtA[:n], nil
10547}
10548
10549func (m *UpdateGraphQLSchemaRequest) MarshalTo(dAtA []byte) (int, error) {
10550 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected