API reference › @evolu/sqlite-wasm › c-api › sqlite3_randomness
function sqlite3_randomness(
deps: SqliteWasmDep,
): (N: number, P: 0 | WasmPtr) => void;
Defined in: packages/sqlite-wasm/src/CApi.ts:919
Writes N pseudo-random bytes to P. A call with N below 1 or a NULL P writes nothing and makes the next call reseed from the default VFS's xRandomness.
Wasm type v(ii). Signature ["sqlite3_randomness", undefined, "int", "*"]
from Evolu's supplement: SQLite binds it by hand to fill typed arrays.