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

Method Marshal

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

Source from the content-addressed store, hash-verified

776}
777
778func (m *IdentityNodePb) Marshal() (data []byte, err error) {
779 size := m.Size()
780 data = make([]byte, size)
781 n, err := m.MarshalTo(data)
782 if err != nil {
783 return nil, err
784 }
785 return data[:n], nil
786}
787
788func (m *IdentityNodePb) MarshalTo(data []byte) (int, error) {
789 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected