Name

sqlite3_blob_bytes() — Get the size of a BLOB handle value

Definition

int sqlite3_blob_bytes( sqlite3_blob* blob );
blob

A BLOB handle acquired from sqlite3_blob_open().

Returns

The size of the BLOB value, in bytes.

Description

This function returns the size of the referenced BLOB value in bytes. The size of a BLOB value is fixed and cannot be modified without a call to INSERT or UPDATE.

See Also

sqlite3_blob_open(), sqlite3_bind_xxx() (refer to sqlite3_bind_zeroblob(), specifically), zeroblob() [Ap E]

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.