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

Method Marshal

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

Source from the content-addressed store, hash-verified

1234}
1235
1236func (m *KvInt) Marshal() (data []byte, err error) {
1237 size := m.Size()
1238 data = make([]byte, size)
1239 n, err := m.MarshalTo(data)
1240 if err != nil {
1241 return nil, err
1242 }
1243 return data[:n], nil
1244}
1245
1246func (m *KvInt) MarshalTo(data []byte) (int, error) {
1247 var i int

Callers 4

parseSqlTestFunction · 0.45
sqlSelectToPbDepthFunction · 0.45
TestPbFunction · 0.45
parseFilterQlTestFunction · 0.45

Calls 2

SizeMethod · 0.95
MarshalToMethod · 0.95

Tested by 3

parseSqlTestFunction · 0.36
TestPbFunction · 0.36
parseFilterQlTestFunction · 0.36