We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e28ff commit 7e403e7Copy full SHA for 7e403e7
src/decoder.ts
@@ -313,11 +313,7 @@ export default class Decoder {
313
}
314
315
private decodeString(offset: number, size: number) {
316
- // @ts-ignore
317
- return this.db.utf8Slice(offset, offset + size);
318
-
319
- // A little slower:
320
- // return this.db.toString('utf8', offset, offset + size);
+ return this.db.toString('utf8', offset, offset + size);
321
322
323
private decodeBigUint(offset: number, size: number) {
0 commit comments