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

Method Marshal

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

Source from the content-addressed store, hash-verified

463}
464
465func (m *BinaryNodePb) Marshal() (data []byte, err error) {
466 size := m.Size()
467 data = make([]byte, size)
468 n, err := m.MarshalTo(data)
469 if err != nil {
470 return nil, err
471 }
472 return data[:n], nil
473}
474
475func (m *BinaryNodePb) MarshalTo(data []byte) (int, error) {
476 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected