# convert\_Uint8Array\_to\_bigint

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.8.1**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / convert\_Uint8Array\_to\_bigint

# Function: convert\_Uint8Array\_to\_bigint()

```
function convert_Uint8Array_to_bigint(n, a): bigint;
```

**`Internal`**

Compiler internal for typecasts

## Parameters[​](#parameters "Direct link to Parameters")

### n[​](#n "Direct link to n")

`number`

### a[​](#a "Direct link to a")

`Uint8Array`

## Returns[​](#returns "Direct link to Returns")

`bigint`
