0.0.8 • Published 3 years ago
haxe-basecode v0.0.8
BaseCode implement of haxe.crypto.BaseCode
Allows one to encode / decode String and bytes using a power of two base dictionary.
Note
If you are looking for how to use it, you can look at some examples in the unit tests.
Constructor
new BaseCode(base: Bytes)Variables
public base: Bytespublic nbits: Intpublic tbl: ArrayMethods
static decode(s: String, base: String): Stringstatic encode(s: String, base: String): Stringpublic initTable(): voidpublic encodeBytes(b: Bytes): Bytespublic decodeBytes(b: Bytes): Bytespublic encodeString(s: String): Stringpublic decodeString(s: String): String