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

> pure function len(): integer Deprecated (for removal): Use 'size' instead Returns the number of bytes in this byte_array . Since 0.6.0 Alias of byte_array.

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

FUNCTION

# byte\_array.len

```signature
pure function len(): integer
```

**Deprecated** (for removal): Use 'size' instead

Returns the number of bytes in this `byte_array`.

Since 0.6.0

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

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