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

function sqlite3_result_zeroblob(
  deps: SqliteWasmDep,
): (context: SqliteContextPtr, n: number) => void;

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

Sets an application-defined function's result to a blob of n zero bytes, 0 for a negative n. A size beyond SQLITE_LIMIT_LENGTH makes the function fail with SQLITE_TOOBIG.

Wasm type v(ii). Signature ["sqlite3_result_zeroblob", undefined, "sqlite3_context*", "int"] from SQLite's table.

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