Member Junction
    Preparing search index...
    • 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).

      Parameters

      • data: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns ArrayBuffer