# decode_base64

This function converts a charstring value to an octetstring value. The charstring value is converted via Base64 decoding (text-to-binary) into octets.

Related keyword:

- charstring
- octetstring

### decode_base64(charstring) return octetstring

Example 1:

const charstring c_str := "QmFzZTY0IGVuY29kaW5nIHNjaGVtZQ==";

const octetstring c_result := decode_base64(c_str);

The constant called c_result will contain the characters '42617365363420656E636F64696E6720736368656D65'O