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

Refactor Buffering consume_rbuff and getbyte methods #585

Merged
merged 1 commit into from Aug 31, 2023

Conversation

Maumagnaguagno
Copy link
Contributor

Prefer slice! for Buffering#consume_rbuff and safe navigation with ord for Buffering#getbyte, similar to each_byte.

Prefer ``slice!`` for ``Buffering#consume_rbuff`` and safe navigation with ``ord`` for ``Buffering#getbyte``, similar to ``each_byte``.
@rhenium rhenium merged commit 2dc1253 into ruby:master Aug 31, 2023
@rhenium
Copy link
Member

rhenium commented Aug 31, 2023

Sorry it took too long to reply to this. The changes look good to me.

Thank you!

@Maumagnaguagno Maumagnaguagno deleted the refactor-buffering-methods branch August 31, 2023 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants