Click or drag to resize

MarshallsBase64ToVariant Method

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Object Base64ToVariant(
	string base64Str,
	bool allowObjects = false
)

Parameters

base64Str
Type: SystemString

[Missing <param name="base64Str"/> documentation for "M:Godot.Marshalls.Base64ToVariant(System.String,System.Boolean)"]

allowObjects (Optional)
Type: SystemBoolean

[Missing <param name="allowObjects"/> documentation for "M:Godot.Marshalls.Base64ToVariant(System.String,System.Boolean)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Marshalls.Base64ToVariant(System.String,System.Boolean)"]

See Also