Home Manual Reference Source

Function

Static Public Summary
public

* byte1tochar2(alphabet: *, a: *)

public

* byte2tochar4(alphabet: *, a: *, b: *)

public

* byte3tochar5(alphabet: *, a: *, b: *, c: *)

public

* byte4tochar7(alphabet: *, a: *, b: *, c: *, d: *)

public

* byte5tochar8(alphabet: *, a: *, b: *, c: *, d: *, e: *)

public

* char2tobyte1(index: *, a: *, b: *)

public

* char4tobyte2(index: *, a: *, b: *, c: *, d: *)

public

* char5tobyte3(index: *, a: *, b: *, c: *, d: *, e: *)

public

* char7tobyte4(index: *, a: *, b: *, c: *, d: *, e: *, f: *, g: *)

public

* char8tobyte5(index: *, a: *, b: *, c: *, d: *, e: *, f: *, g: *, h: *)

public

decode(bytes: *, options: *): *

public

encode(bytes: *, options: *): undefined[]

Static Private Summary
private

* _decode(bytes: *, options: *)

private

* _encode(string: *, options: *)

Static Public

public * byte1tochar2(alphabet: *, a: *) source

import byte1tochar2 from '@codec-bytes/base32/src/byte1tochar2.js'

Params:

NameTypeAttributeDescription
alphabet *
a *

public * byte2tochar4(alphabet: *, a: *, b: *) source

import byte2tochar4 from '@codec-bytes/base32/src/byte2tochar4.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *

public * byte3tochar5(alphabet: *, a: *, b: *, c: *) source

import byte3tochar5 from '@codec-bytes/base32/src/byte3tochar5.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *
c *

public * byte4tochar7(alphabet: *, a: *, b: *, c: *, d: *) source

import byte4tochar7 from '@codec-bytes/base32/src/byte4tochar7.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *
c *
d *

public * byte5tochar8(alphabet: *, a: *, b: *, c: *, d: *, e: *) source

import byte5tochar8 from '@codec-bytes/base32/src/byte5tochar8.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *
c *
d *
e *

public * char2tobyte1(index: *, a: *, b: *) source

import char2tobyte1 from '@codec-bytes/base32/src/char2tobyte1.js'

Params:

NameTypeAttributeDescription
index *
a *
b *

public * char4tobyte2(index: *, a: *, b: *, c: *, d: *) source

import char4tobyte2 from '@codec-bytes/base32/src/char4tobyte2.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *
d *

public * char5tobyte3(index: *, a: *, b: *, c: *, d: *, e: *) source

import char5tobyte3 from '@codec-bytes/base32/src/char5tobyte3.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *
d *
e *

public * char7tobyte4(index: *, a: *, b: *, c: *, d: *, e: *, f: *, g: *) source

import char7tobyte4 from '@codec-bytes/base32/src/char7tobyte4.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *
d *
e *
f *
g *

public * char8tobyte5(index: *, a: *, b: *, c: *, d: *, e: *, f: *, g: *, h: *) source

import char8tobyte5 from '@codec-bytes/base32/src/char8tobyte5.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *
d *
e *
f *
g *
h *

public decode(bytes: *, options: *): * source

Params:

NameTypeAttributeDescription
bytes *
options *
  • optional
  • default: DEFAULT_OPTIONS

Return:

*

public encode(bytes: *, options: *): undefined[] source

Params:

NameTypeAttributeDescription
bytes *
options *
  • optional
  • default: DEFAULT_OPTIONS

Return:

undefined[]

Static Private

private * _decode(bytes: *, options: *) source

Params:

NameTypeAttributeDescription
bytes *
options *
  • optional
  • default: DEFAULT_OPTIONS

private * _encode(string: *, options: *) source

Params:

NameTypeAttributeDescription
string *
options *
  • optional
  • default: DEFAULT_OPTIONS