Function allocUnsafe

  • Where possible returns a Uint8Array of the requested size that references uninitialized memory. Only use if you are certain you will immediately overwrite every value in the returned Uint8Array.

    Parameters

    • size: number = 0

    Returns Uint8Array