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

Method Marshal

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

Source from the content-addressed store, hash-verified

583}
584
585func (m *UnaryNodePb) Marshal() (data []byte, err error) {
586 size := m.Size()
587 data = make([]byte, size)
588 n, err := m.MarshalTo(data)
589 if err != nil {
590 return nil, err
591 }
592 return data[:n], nil
593}
594
595func (m *UnaryNodePb) MarshalTo(data []byte) (int, error) {
596 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected