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

Method Marshal

bitmap/pb.pb.go:10071–10079  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10069}
10070
10071func (m *Status) Marshal() (dAtA []byte, err error) {
10072 size := m.Size()
10073 dAtA = make([]byte, size)
10074 n, err := m.MarshalToSizedBuffer(dAtA[:size])
10075 if err != nil {
10076 return nil, err
10077 }
10078 return dAtA[:n], nil
10079}
10080
10081func (m *Status) MarshalTo(dAtA []byte) (int, error) {
10082 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected