MarshallsSingleton

Data transformation (marshalling) and encoding helpers.

Provides data transformation and encoding utility functions.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

base64ToRaw
PoolByteArray base64ToRaw(String base64_str)

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

base64ToUtf8
String base64ToUtf8(String base64_str)

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

base64ToVariant
Variant base64ToVariant(String base64_str, bool allow_objects)

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.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(MarshallsSingleton other)
opEquals
bool opEquals(typeof(null) n)
rawToBase64
String rawToBase64(PoolByteArray array)

Returns a Base64-encoded string of a given PoolByteArray.

toHash
size_t toHash()
utf8ToBase64
String utf8ToBase64(String utf8_str)

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

variantToBase64
String variantToBase64(VariantArg0 variant, bool full_objects)

Returns a Base64-encoded string of the Variant variant. If full_objects is true, encoding objects is allowed (and can potentially include code).

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
MarshallsSingleton _new()

Construct a new instance of MarshallsSingleton. Note: use memnew!MarshallsSingleton instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta