Member Junction
    Preparing search index...
    • Pure helper — coerces a Uint8Array view (which may be a window onto a larger buffer) or a standalone ArrayBuffer into a copied ArrayBuffer of exactly the frame's bytes. A view's .buffer can be larger than the frame, so we slice the exact window; isolated from I/O so it is unit-tested directly.

      Defined here (the Vonage package has no other PCM-coercion helper) so there is no duplicate export * collision under index.ts.

      Parameters

      • data: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns ArrayBuffer