Copies arbitrary PCM bytes into a standalone ArrayBuffer, never aliasing the caller's buffer window.
A Uint8Array view may be a slice of a larger backing buffer (offset/length), so a naive .buffer
grab would leak neighbouring audio; this copies exactly the view's bytes. Defined locally because the
Twilio package has no shared coercion helper to reuse (unlike the Zoom package's RTMS binding).
Copies arbitrary PCM bytes into a standalone
ArrayBuffer, never aliasing the caller's buffer window. AUint8Arrayview may be a slice of a larger backing buffer (offset/length), so a naive.buffergrab would leak neighbouring audio; this copies exactly the view's bytes. Defined locally because the Twilio package has no shared coercion helper to reuse (unlike the Zoom package's RTMS binding).