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

> pure function toList(): list < integer > Deprecated (for removal): Use 'to_list' instead Converts this byte_array to a list of integers. The inverse of byt

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

FUNCTION

# byte\_array.toList

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

**Deprecated** (for removal): Use 'to\_list' instead

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

**Alias of** [byte\_array.to\_list](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/byte_array/to_list/)

[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
