haxe-basecode
v0.0.8
Published
An implementation of haxe.crypto.BaseCode
Downloads
5
Readme
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: Bytes
public nbits: Int
public tbl: Array
Methods
static decode(s: String, base: String): String
static encode(s: String, base: String): String
public initTable(): void
public encodeBytes(b: Bytes): Bytes
public decodeBytes(b: Bytes): Bytes
public encodeString(s: String): String
public decodeString(s: String): String