Skip to content
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

Add a method for ByteIndex to convert to u32 #115

Open
GrayJack opened this issue Aug 19, 2019 · 1 comment
Open

Add a method for ByteIndex to convert to u32 #115

GrayJack opened this issue Aug 19, 2019 · 1 comment

Comments

@GrayJack
Copy link

GrayJack commented Aug 19, 2019

maybe a method to_raw_index where it just unwraps the number inside ByteIndex

I know that can be byte_index.0, but it would be more expressive

@brendanzab
Copy link
Owner

brendanzab commented Aug 23, 2019

Yeah, .0 is a tad ugly I know! 🤔

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

No branches or pull requests

2 participants