A framework for building native applications using React
Add `tryGetMutableBuffer` API (#55943)
Summary: Adds `ArrayBuffer::tryGetMutableBuffer` to JSI. This allows the user to retrieve a `MutableBuffer` from the `ArrayBuffer`. The returned buffer will point directly into the same buffer as the runtime object, rather than copying it out. The data referencedby the `MutableBuffer` will be alive during the entirety of the `MutableBuffer` lifespan. Addresses: https://github.com/facebook/hermes/issues/1578 Changelog: [Internal] Reviewed By: tmikov Differential Revision: D91264901
C
Chi Tsai committed
e2bd74c2b86882da27904ea426c54d9f6761cc71
Parent: 1132306
Committed by Facebook GitHub Bot <[email protected]>
on 3/19/2026, 4:51:22 PM