Marshalls Class |
Provides data transformation and encoding utility functions.
Namespace: Godot
public static class Marshalls
The Marshalls type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Base64ToRaw | Returns a decoded Byte corresponding to the Base64-encoded string base64_str. |
![]() ![]() | Base64ToUtf8 | Returns a decoded string corresponding to the Base64-encoded string base64_str. |
![]() ![]() | Base64ToVariant | Returns a decoded Variant corresponding to the Base64-encoded string base64_str. If allow_objects is true, decoding objects is allowed. Warning: Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. |
![]() ![]() | RawToBase64 | Returns a Base64-encoded string of a given Byte. |
![]() ![]() | Utf8ToBase64 | Returns a Base64-encoded string of the UTF-8 string utf8_str. |
![]() ![]() | VariantToBase64 | Returns a Base64-encoded string of the Variantvariant. If full_objects is true, encoding objects is allowed (and can potentially include code). |