Skip to content

Commit 9a3dd51

Browse files
authored
Merge pull request #25 from 1inch/feat/next-uint-64
feat: add nextUint64
2 parents a4decce + f641a55 commit 9a3dd51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bytes-iter/bytes-iter.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ export class BytesIter<T> {
9393
return this.nextBytes(4, side)
9494
}
9595

96+
public nextUint64(side = Side.Front): T {
97+
return this.nextBytes(8, side)
98+
}
99+
96100
public nextUint128(side = Side.Front): T {
97101
return this.nextBytes(16, side)
98102
}

0 commit comments

Comments
 (0)