Function asUint8Array

  • Convert ArrayBuffer or ArrayBufferView to Uint8Array.

    Parameters

    • a: BufferSource

    Returns Uint8Array