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

Method Marshal

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

Source from the content-addressed store, hash-verified

806}
807
808func (m *NumberNodePb) Marshal() (data []byte, err error) {
809 size := m.Size()
810 data = make([]byte, size)
811 n, err := m.MarshalTo(data)
812 if err != nil {
813 return nil, err
814 }
815 return data[:n], nil
816}
817
818func (m *NumberNodePb) MarshalTo(data []byte) (int, error) {
819 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected