MCPcopy Create free account
hub / github.com/araddon/qlbridge / Marshal

Method Marshal

expr/node.pb.go:324–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322}
323
324func (m *NodePb) Marshal() (data []byte, err error) {
325 size := m.Size()
326 data = make([]byte, size)
327 n, err := m.MarshalTo(data)
328 if err != nil {
329 return nil, err
330 }
331 return data[:n], nil
332}
333
334func (m *NodePb) MarshalTo(data []byte) (int, error) {
335 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected