Fix part of storybook stories
This commit is contained in:
parent
eaae3ff88b
commit
a2b05333f7
8 changed files with 65 additions and 38 deletions
|
@ -67,4 +67,9 @@ export class Bytes {
|
|||
|
||||
return Buffer.compare(a, b) === 0;
|
||||
}
|
||||
|
||||
public readBigUint64BE(value: Uint8Array): bigint {
|
||||
const buffer = Buffer.from(value);
|
||||
return buffer.readBigUint64BE();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue