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

Static variables

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

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

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

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

Static methods

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

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

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

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