[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › [c-api](https://evolu.dev/docs/api-reference/sqlite-wasm/c-api) › sqlite3\_bind\_blob

```ts
function sqlite3_bind_blob(
  deps: SqliteWasmDep,
): (
  pStmt: SqliteStmtPtr,
  index: number,
  value: 0 | WasmPtr,
  n: number,
  destructor: SqliteDestructor,
) => SqliteResultCode;
```

Defined in: [packages/sqlite-wasm/src/CApi.ts:2126](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/CApi.ts#L2126)

Binds n bytes to a parameter; a negative n is undefined behavior. A NULL
address binds SQL NULL, so an empty blob needs a non-NULL address.

Wasm type `i(iiiii)`. Signature `["sqlite3_bind_blob", "int",
"sqlite3_stmt*", "int", "*", "int", "*"]` from Evolu's supplement: SQLite
binds it by hand to accept typed arrays.

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