Skip to content

proposal: encoding/binary: need uvarintLength method #66758

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

Closed
xgzlucario opened this issue Apr 10, 2024 · 1 comment
Closed

proposal: encoding/binary: need uvarintLength method #66758

xgzlucario opened this issue Apr 10, 2024 · 1 comment

Comments

@xgzlucario
Copy link

Proposal Details

The standard library "encoding/binary" need UvarintLength method, which can quickly calculates the space occupied by an integer encoded as a variable length without memory allocation.

@gopherbot gopherbot added this to the Proposal milestone Apr 10, 2024
@randall77
Copy link
Contributor

Duplicate of #66284.
It might help to comment there if you have an additional use case that would motivate this change.

@golang golang locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants