Fix part of storybook stories

This commit is contained in:
Fedor Indutny 2023-07-19 01:57:38 +02:00 committed by Fedor Indutnyy
parent eaae3ff88b
commit a2b05333f7
8 changed files with 65 additions and 38 deletions

View file

@ -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();
}
}