Pure helper — copies a Node Buffer (a Uint8Array view, possibly into a pooled allocation) into a standalone ArrayBuffer so the result never aliases a larger backing window. Used to hand inbound audio to the bridge as a clean ArrayBuffer.
Buffer
Uint8Array
ArrayBuffer
Pure helper — copies a Node
Buffer(aUint8Arrayview, possibly into a pooled allocation) into a standaloneArrayBufferso the result never aliases a larger backing window. Used to hand inbound audio to the bridge as a cleanArrayBuffer.