Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

Marshalls

Inherits: Object

Data transformation (marshaling) and encoding helpers.

Description

Provides data transformation and encoding utility functions.

Methods

PackedByteArray

base64_to_raw ( String base64_str )

String

base64_to_utf8 ( String base64_str )

Variant

base64_to_variant ( String base64_str, bool allow_objects=false )

String

raw_to_base64 ( PackedByteArray array )

String

utf8_to_base64 ( String utf8_str )

String

variant_to_base64 ( Variant variant, bool full_objects=false )


Method Descriptions

PackedByteArray base64_to_raw ( String base64_str )

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


String base64_to_utf8 ( String base64_str )

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


Variant base64_to_variant ( String base64_str, bool allow_objects=false )

Returns a decoded <