# byte_array.to_list · Rell standard library · Chromia Docs (concept)

> pure function to_ list(): list < integer > Converts this byte_array to a list of integers. The inverse of byte_array.from_list(list<integer>) . Each byte i

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/byte_array/to_list/

FUNCTION

# byte\_array.to\_list

```signature
pure function to_list(): list<integer>
```

Converts this `byte_array` to a list of integers.

The inverse of `byte_array.from_list(list<integer>)`.

Each byte in the array is converted to a single integer `0 <= x < 256` in the returned list.

Since 0.9.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/byte_array/to_list.html)Generated API reference, mirrored from the live docs
