We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It has been supported since at least MRI 3.0 (https://docs.ruby-lang.org/en/3.0/Array.html#method-i-pack), and helps avoid transient string allocations when building up nested binary structures
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue! Indeed, the buffer option exists for a long time (probably since Ruby 2.4).
buffer
Sorry, something went wrong.
Support buffer keyword argument to Array#pack
f163b85
* Fixes #3559
c870d09
c44c87a
a4a4318
e2ec172
* Fixes oracle/truffleruby#3559
andrykonchin
No branches or pull requests
It has been supported since at least MRI 3.0 (https://docs.ruby-lang.org/en/3.0/Array.html#method-i-pack), and helps avoid transient string allocations when building up nested binary structures
The text was updated successfully, but these errors were encountered: