Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readNumber(Token.UINT64_LE) throws error #80

Closed
Borewit opened this issue Dec 1, 2019 · 2 comments
Closed

readNumber(Token.UINT64_LE) throws error #80

Borewit opened this issue Dec 1, 2019 · 2 comments
Assignees
Labels

Comments

@Borewit
Copy link
Owner

Borewit commented Dec 1, 2019

Will throw error:

(node:7253) UnhandledPromiseRejectionWarning: RangeError [ERR_OUT_OF_RANGE]: The value of "length" is out of range. It must be >= 0 && <= 4. Received 8
@Borewit Borewit added the bug label Dec 1, 2019
@Borewit Borewit self-assigned this Dec 1, 2019
@Borewit
Copy link
Owner Author

Borewit commented Dec 1, 2019

Workaround: use:

const x = await tokenizer.readToken(Token.UINT64_LE);

@Borewit
Copy link
Owner Author

Borewit commented Dec 3, 2019

Fixed by #82, in v3.1.3

@Borewit Borewit closed this as completed Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant