0.0.8 • Published 1 year ago

haxe-basecode v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

BaseCode implement of haxe.crypto.BaseCode

npm tests GitHub

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
0.0.8

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago