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
for these:
https://godocs.io/encoding/hex#DecodeString https://godocs.io/encoding/hex#NewDecoder https://godocs.io/encoding/hex#Decode
upper and lower input are accepted, but the current docs make no mention of that fact. I see an example with lower case:
https://godocs.io/encoding/hex#example-Decode
but no examples with upper case. so one might assume upper case is not supported, when it is:
package main import "encoding/hex" func main() { b, err := hex.DecodeString("2A") if err != nil { panic(err) } println(b[0] == '*') }
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/543836 mentions this issue: encoding/hex: change the example code to make it clearer
encoding/hex: change the example code to make it clearer
Sorry, something went wrong.
No branches or pull requests
for these:
https://godocs.io/encoding/hex#DecodeString
https://godocs.io/encoding/hex#NewDecoder
https://godocs.io/encoding/hex#Decode
upper and lower input are accepted, but the current docs make no mention of that fact. I see an example with lower case:
https://godocs.io/encoding/hex#example-Decode
but no examples with upper case. so one might assume upper case is not supported, when it is:
The text was updated successfully, but these errors were encountered: