Handbook
Glossary
sqlite3_serialize ( db zSchema piSize mFlags -- uchar* )
Vocabulary
db
.
sqlite
.
ffi
Inputs
db
a database connection
zSchema
a schema name or f
piSize
a pointer receiving the byte length
mFlags
serialization flags
Outputs
uchar*
a binary buffer pointer, or f
Word description
Returns length-delimited database bytes. With ordinary flags the caller owns the result and must call sqlite3_free. SQLITE_SERIALIZE_NOCOPY instead requests a borrowed buffer. Never decode the database buffer as a C string.
Definition
USING:
alien.c-types
alien.syntax
;
IN:
db.sqlite.ffi
LIBRARY:
sqlite
FUNCTION:
uchar*
sqlite3_serialize
( sqlite3* db,
c-string
zSchema, sqlite3_int64* piSize,
uint
mFlags )