• Converts the response to a Uint8Array.

    Parameters

    • response: Response

      The response object to convert.

    Returns Promise<Uint8Array>

    A promise that resolves to a Uint8Array containing the response data.