W3cubDocs

/Haxe

Base64

package haxe.crypto

Available on all platforms

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

Static variables

@:value(haxe.io.Bytes.ofString(CHARS)) static read only BYTES:Bytes = haxe.io.Bytes.ofString(CHARS)

@:value("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") static read only CHARS:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Static methods

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

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

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/crypto/Base64.html