Handbook
Glossary
parse-field ( byte-array type -- data )
Vocabulary
dbf
Inputs
byte-array
an
object
type
an
object
Outputs
data
an
object
Definition
USING:
combinators
;
IN:
dbf
:
parse-field
( byte-array type -- data )
{
{
0
[
]
}
{
50
[
parse-short
]
}
{
52
[
parse-int
]
}
{
56
[
parse-double
]
}
{
67
[
parse-string
]
}
{
68
[
parse-date
]
}
{
70
[
parse-float
]
}
{
73
[
parse-int
]
}
{
76
[
parse-logical
]
}
{
78
[
parse-numeric
]
}
{
79
[
parse-double
]
}
{
86
[
parse-string
]
}
{
89
[
parse-currency
]
}
{
64
[
parse-timestamp
]
}
[
unsupported-field-type
]
}
case
;