Skip to content

Commit

Permalink
feat: expose readBigUInt64BE
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x authored and yknl committed Nov 20, 2020
1 parent c9fabc4 commit 395bcd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/transactions/src/bufferReader.ts
Expand Up @@ -87,6 +87,10 @@ export class BufferReader {
return num;
}

readBigUInt64BE(): bigint {
return this.smartBuffer.readBigUInt64BE();
}

readUInt8Enum<T extends string, TEnumValue extends number>(
enumVariable: { [key in T]: TEnumValue },
invalidEnumErrorFormatter: (val: number) => Error
Expand Down

0 comments on commit 395bcd9

Please sign in to comment.