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

Method Marshal

rel/sql.pb.go:933–941  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931}
932
933func (m *SqlSourcePb) Marshal() (data []byte, err error) {
934 size := m.Size()
935 data = make([]byte, size)
936 n, err := m.MarshalTo(data)
937 if err != nil {
938 return nil, err
939 }
940 return data[:n], nil
941}
942
943func (m *SqlSourcePb) MarshalTo(data []byte) (int, error) {
944 var i int

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by

no test coverage detected