### strings.from_base64

Supported in:

    strings.from_base64(base64_encoded_string)

#### Description

Function converts a base64 encoded `STRING` value to a raw binary `BYTES` value. Function calls with values that cannot be casted return an empty `BYTES` by default.

#### Param data types

`STRING`

#### Return type

`BYTES`

#### Code samples

##### Base64 Encoded String to Bytes Conversion

The function converts a base64 encoded string to its raw binary bytes representation.

    strings.from_base64("AAAAAG+OxVhtAm+d2sVuny/hW4oAAAAAAQAAAM0AAAA=") = b'000000006f8ec5586d026f9ddac56e9f2fe15b8a0000000001000000cd000000

##### Failed Conversion (Defaults to Empty Bytes)

The function defaults to empty bytes if the provided value in invalid.

    strings.from_base64("invalid-value") = b'