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 2cf8feb commit f843ecdCopy full SHA for f843ecd
src/decoder.ts
@@ -313,7 +313,7 @@ export default class Decoder {
313
}
314
315
private decodeString(offset: number, size: number) {
316
- return this.db.toString('utf8', offset, offset + size);
+ return this.db.slice(offset, offset + size).toString();
317
318
319
private decodeBigUint(offset: number, size: number) {
0 commit comments