API reference › @evolu/sqlite-wasm › c-api › sqlite3_value_bytes

function sqlite3_value_bytes(
  deps: SqliteWasmDep,
): (value: SqliteValuePtr) => number;

Defined in: packages/sqlite-wasm/src/CApi.ts:2464

Returns the byte length of the blob or UTF-8 text the preceding sqlite3_value_blob or sqlite3_value_text call returned, without the NUL terminator; 0 for NULL.

Wasm type i(i). Signature ["sqlite3_value_bytes", "int", "sqlite3_value*"] from SQLite's table.

See https://sqlite.org/c3ref/value_blob.html.