Skip to content

feat: parse hexadecimal strings in ToUint64E#344

Closed
leno23 wants to merge 2 commits into
spf13:masterfrom
leno23:feat/uint64-hex-string-334
Closed

feat: parse hexadecimal strings in ToUint64E#344
leno23 wants to merge 2 commits into
spf13:masterfrom
leno23:feat/uint64-hex-string-334

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

Fixes #334.

ToUint64E now converts bare hexadecimal strings (e.g. 882d5422d5fffff) to uint64, in addition to existing decimal and 0x-prefixed forms.

Test plan

  • go test -run TestToUint64HexString -v
  • go test ./...

Made with Cursor

sagikazarmark and others added 2 commits April 6, 2026 20:43
…ions/checkout-6.0.1

build(deps): bump actions/checkout from 5.0.1 to 6.0.1
Fixes spf13#334.

When decimal parsing fails, ToUint64E now accepts bare hexadecimal
strings (with or without a 0x prefix) for uint64 conversion.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 17, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ sagikazarmark
❌ leno23
You have signed the CLA already but the status is still pending? Let us recheck it.

@leno23 leno23 closed this May 17, 2026
@leno23 leno23 force-pushed the feat/uint64-hex-string-334 branch from 7cbdabe to 34c2e65 Compare May 17, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add hex string to uint64 conversion support

3 participants