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

Method Marshal

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

Source from the content-addressed store, hash-verified

696}
697
698func (m *ArrayNodePb) Marshal() (data []byte, err error) {
699 size := m.Size()
700 data = make([]byte, size)
701 n, err := m.MarshalTo(data)
702 if err != nil {
703 return nil, err
704 }
705 return data[:n], nil
706}
707
708func (m *ArrayNodePb) MarshalTo(data []byte) (int, error) {
709 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected