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

> static function from_ base64(value: text ): byte_array Create a byte array from a base-64 string. Valid base-64 strings may include the characters a-z , A-

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

FUNCTION

# byte\_array.from\_base64

```signature
static function from_base64(value: text): byte_array
```

Create a byte array from a base-64 string.

Valid base-64 strings may include the characters `a-z`, `A-Z`, `0-9`, `+` and `/` as significant
characters, and '=' as padding.

**Parameters**

* **value** — the base-64 string

**Throws**

* `exception` — if `value` contains invalid characters

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/from_base64.html)Generated API reference, mirrored from the live docs
