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

Method Marshal

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

Source from the content-addressed store, hash-verified

507}
508
509func (m *BooleanNodePb) Marshal() (data []byte, err error) {
510 size := m.Size()
511 data = make([]byte, size)
512 n, err := m.MarshalTo(data)
513 if err != nil {
514 return nil, err
515 }
516 return data[:n], nil
517}
518
519func (m *BooleanNodePb) MarshalTo(data []byte) (int, error) {
520 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected