Skip to content

expose known_number_bytes and parser methods for bytes -> number#250

Merged
davidhewitt merged 3 commits into
mainfrom
dh/known-number-bytes
May 19, 2026
Merged

expose known_number_bytes and parser methods for bytes -> number#250
davidhewitt merged 3 commits into
mainfrom
dh/known-number-bytes

Conversation

@davidhewitt

Copy link
Copy Markdown
Collaborator

This exposes known_number_bytes, which matches known_float, known_str signatures etc, so should not be controversial.

I also exposed three helper methods to parse the subsequent byte range.

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed-hq

codspeed-hq Bot commented May 14, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 70 untouched benchmarks


Comparing dh/known-number-bytes (0bb223a) with main (dcdc93d)

Open in CodSpeed

@samuelcolvin

Copy link
Copy Markdown
Member

Lgtm

@davidhewitt davidhewitt merged commit 0f3e5eb into main May 19, 2026
26 checks passed
@davidhewitt davidhewitt deleted the dh/known-number-bytes branch May 19, 2026 09:06
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.

2 participants