Function asUint8Array

  • Convert (Shared)ArrayBuffer(View) to Uint8Array.

    Parameters

    • a: ArrayBufferLike | ArrayBufferView<ArrayBufferLike>

    Returns Uint8Array