installBufferSubarrayFix
installBufferSubarrayFix():
"native"|"patched"|"no-buffer"
Defined in: index.ts:86
Hermes has no Symbol.species, so Buffer.prototype.subarray (and any other
TypedArray method that returns a view) yields a plain Uint8Array — the next
.copy() / .readUInt32BE() on it throws “undefined is not a function”.
@ton/core, bitcoinjs-lib and many Node-style libraries slice Buffers this way.
Patches the global Buffer (the app installs one from the buffer package).
Returns
Section titled “Returns”"native" | "patched" | "no-buffer"