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

Method Marshal

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

Source from the content-addressed store, hash-verified

660}
661
662func (m *TriNodePb) Marshal() (data []byte, err error) {
663 size := m.Size()
664 data = make([]byte, size)
665 n, err := m.MarshalTo(data)
666 if err != nil {
667 return nil, err
668 }
669 return data[:n], nil
670}
671
672func (m *TriNodePb) MarshalTo(data []byte) (int, error) {
673 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected