-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Allow resizing of underlying ArrayBuffer from Rust #4082
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4082 +/- ##
==========================================
+ Coverage 47.24% 53.77% +6.53%
==========================================
Files 476 485 +9
Lines 46892 48150 +1258
==========================================
+ Hits 22154 25895 +3741
+ Misses 24738 22255 -2483 ☔ View full report in Codecov by Sentry. |
Does it make sense to merge this after #4083 gets merged? I think it would be easier to rebase this than to rebase the other PR which is a lot bigger. |
Sure I'll wait for that PR to be merged then rebase this one. |
@jedel1043 Please review and ready for merge :) The other PR is back to draft for the moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I have an API that might truncate an
ArrayBuffer
passed in (or make it bigger). I have to callresize()
from Rust for a buffer passed by JavaScript, and this is the best way I found to do that.