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 6960ebd commit da6765dCopy full SHA for da6765d
packages/ksuid/src/ksuid32.ts
@@ -23,7 +23,7 @@ export class KSUID32 extends AKSUID {
23
}
24
25
parse(id: string) {
26
- const buf = new Uint8Array(this.size);
+ const buf = this.tmp;
27
this.base.decodeBytes(id, buf);
28
return {
29
epoch: this.u32(buf) * 1000 + this.epoch,
packages/ksuid/src/ksuid64.ts
@@ -27,7 +27,7 @@ export class KSUID64 extends AKSUID {
30
31
32
33
epoch:
0 commit comments