Skip to content

Commit a7ee128

Browse files
committed
fmt
1 parent cec5a6e commit a7ee128

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bench/bench.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function $(name) {
1010
args: ["task", name],
1111
env: {
1212
NO_COLOR: "1",
13-
}
13+
},
1414
}).outputSync().stdout,
1515
)
1616
.split("\n")

src/blob.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,16 @@ export class SQLBlob {
6060

6161
/** Read from the Blob at given offset into a buffer (Uint8Array) */
6262
readSync(offset: number, p: Uint8Array): void {
63-
unwrap(sqlite3_blob_read(this.#handle, p as BufferSource, p.byteLength, offset));
63+
unwrap(
64+
sqlite3_blob_read(this.#handle, p as BufferSource, p.byteLength, offset),
65+
);
6466
}
6567

6668
/** Write a buffer (Uint8Array) at given offset in the Blob */
6769
writeSync(offset: number, p: Uint8Array): void {
68-
unwrap(sqlite3_blob_write(this.#handle, p as BufferSource, p.byteLength, offset));
70+
unwrap(
71+
sqlite3_blob_write(this.#handle, p as BufferSource, p.byteLength, offset),
72+
);
6973
}
7074

7175
/** Close the Blob. It **must** be called to prevent leaks. */

0 commit comments

Comments
 (0)