Marshalls

    Data transformation (marshalling) and encoding helpers.

    Provides data transformation and encoding utility functions.

    • base64_to_raw ( String base64_str )

    • base64_to_utf8 ( String base64_str )

    Returns a decoded string corresponding to the Base64-encoded string base64_str.


    Returns a decoded corresponding to the Base64-encoded string base64_str. If is true, decoding objects is allowed.


    • String raw_to_base64 ( array )

    Returns a Base64-encoded string of a given PoolByteArray.


    • utf8_to_base64 ( String utf8_str )

    Returns a Base64-encoded string of the UTF-8 string utf8_str.