We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
Currently there is no error checking in decoder, e.g. in DecodeToInt64():
DecodeToInt64()
idx = strings.IndexRune(e.encode, v) ... c = int64(idx) * ...
strings.IndexRune() could return -1 here.
strings.IndexRune()
-1
Would you accept a pull request that adds error checking?
What approach would you prefer?
panic()
int64
int64, error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
Currently there is no error checking in decoder, e.g. in
DecodeToInt64()
:strings.IndexRune()
could return-1
here.Would you accept a pull request that adds error checking?
What approach would you prefer?
panic()
on error;int64
toint64, error
(this will break API);int64, error
return type?The text was updated successfully, but these errors were encountered: