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

Method Marshal

bitmap/pb.pb.go:10602–10610  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10600}
10601
10602func (m *UpdateGraphQLSchemaResponse) Marshal() (dAtA []byte, err error) {
10603 size := m.Size()
10604 dAtA = make([]byte, size)
10605 n, err := m.MarshalToSizedBuffer(dAtA[:size])
10606 if err != nil {
10607 return nil, err
10608 }
10609 return dAtA[:n], nil
10610}
10611
10612func (m *UpdateGraphQLSchemaResponse) MarshalTo(dAtA []byte) (int, error) {
10613 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected