MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Parse

Method Parse

IceFireDB-SQLite/pkg/mysql/mysql/rowdata.go:13–19  ·  view source on GitHub ↗
(f []*Field, binary bool, dst []FieldValue)

Source from the content-addressed store, hash-verified

11type RowData []byte
12
13func (p RowData) Parse(f []*Field, binary bool, dst []FieldValue) ([]FieldValue, error) {
14 if binary {
15 return p.ParseBinary(f, dst)
16 } else {
17 return p.ParseText(f, dst)
18 }
19}
20
21func (p RowData) ParseText(f []*Field, dst []FieldValue) ([]FieldValue, error) {
22 for len(dst) < len(f) {

Callers

nothing calls this directly

Calls 2

ParseBinaryMethod · 0.95
ParseTextMethod · 0.95

Tested by

no test coverage detected