Provides data transformation and encoding utility functions.
Static variables
Static methods
staticinlinebase64ToRaw(base64Str:String):Array<UInt8>
Returns a decoded cs.UInt8 corresponding to the Base64-encoded string base64_str.
staticbase64ToUtf8(base64Str:String):String
Returns a decoded string corresponding to the Base64-encoded string base64_str.
staticbase64ToVariant(base64Str:String, ?allowObjects:Bool):Dynamic
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.
staticrawToBase64(array:HaxeArray<UInt8>):String
Returns a Base64-encoded string of a given cs.UInt8.
staticutf8ToBase64(utf8Str:String):String
Returns a Base64-encoded string of the UTF-8 string utf8_str.
staticvariantToBase64(variant:Dynamic, ?fullObjects:Bool):String
Returns a Base64-encoded string of the Variant variant. If full_objects is true, encoding objects is allowed (and can potentially include code).