Skip to main content
Module

x/sqlite3/mod.ts>SQLBlob#read

Fastest & correct JavaScript bindings to SQLite3 C API, using Deno FFI.
Go to Latest
method SQLBlob.prototype.read
Re-export
import { SQLBlob } from "https://deno.land/x/sqlite3@0.5.1/mod.ts";

Read asynchronously from the Blob at given offset into a buffer.

This function suspends sqlite3_blob_read function into a separate thread, so beware of data races. Once you pass a buffer it should not be used until this function resolves.

Parameters

offset: number
p: Uint8Array

Returns

Promise<void>