Allows one to encode/decode String and bytes using Base64 encoding.

Static variables

@:value(haxe.io.Bytes.ofString(CHARS))staticread onlyBYTES:Bytes = haxe.io.Bytes.ofString(CHARS)

@:value("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")staticread onlyCHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

@:value(haxe.io.Bytes.ofString(URL_CHARS))staticread onlyURL_BYTES:Bytes = haxe.io.Bytes.ofString(URL_CHARS)

@:value("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")staticread onlyURL_CHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"

Static methods

@:value({ complement : true })staticdecode(str:String, complement:Bool = true):Bytes

@:value({ complement : true })staticencode(bytes:Bytes, complement:Bool = true):String

@:value({ complement : false })staticurlDecode(str:String, complement:Bool = false):Bytes

@:value({ complement : false })staticurlEncode(bytes:Bytes, complement:Bool = false):String