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

Method Marshal

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

Source from the content-addressed store, hash-verified

736}
737
738func (m *StringNodePb) Marshal() (data []byte, err error) {
739 size := m.Size()
740 data = make([]byte, size)
741 n, err := m.MarshalTo(data)
742 if err != nil {
743 return nil, err
744 }
745 return data[:n], nil
746}
747
748func (m *StringNodePb) MarshalTo(data []byte) (int, error) {
749 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected