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 toIndex versions for indexOf() #48

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

hlyakhovich
Copy link
Contributor

Hi Patrick,
I've had a number of occasions when I found myself in need of a toIndex version of indexOf. I happen to know particular windows in my byte arrays where the value is supposed to be.

I'm leveraging existing functionality in indexOf, just passing a toIndex instead of length().

What do you think? Could this go into 1.5.1?

Regards,
Herman.

@patrickfav patrickfav merged commit 21f372f into patrickfav:master Sep 3, 2022
@patrickfav
Copy link
Owner

Thanks for the PR! Will try to release ASAP!

@hlyakhovich hlyakhovich deleted the indexOf-toIndex branch September 6, 2022 11:22
@hlyakhovich
Copy link
Contributor Author

@patrickfav Any news on the release? :)

@patrickfav
Copy link
Owner

Hopefully this weekend, need find time to adapt jcenter releasing to maven central releasing

@hlyakhovich
Copy link
Contributor Author

@patrickfav No rush, just keeping in touch. Thanks for the response 👌🏻

@hlyakhovich
Copy link
Contributor Author

@patrickfav friendly ping

@patrickfav
Copy link
Owner

Sorry took me way longer, needed to migrate various tools, but here it is: https://github.com/patrickfav/bytes-java/releases/tag/v1.6.0

@hlyakhovich
Copy link
Contributor Author

@patrickfav Thanks for the update!

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.

None yet

2 participants