Home Manual Reference Source

Function

Static Public Summary
public

* byte1tochar2(alphabet: *, a: *)

public

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

public

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

public

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

public

* char3tobyte2(index: *, a: *, b: *, c: *)

public

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

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/base64/src/byte1tochar2.js'

Params:

NameTypeAttributeDescription
alphabet *
a *

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

import byte2tochar3 from '@codec-bytes/base64/src/byte2tochar3.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *

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

import byte3tochar4 from '@codec-bytes/base64/src/byte3tochar4.js'

Params:

NameTypeAttributeDescription
alphabet *
a *
b *
c *

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

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

Params:

NameTypeAttributeDescription
index *
a *
b *

public * char3tobyte2(index: *, a: *, b: *, c: *) source

import char3tobyte2 from '@codec-bytes/base64/src/char3tobyte2.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *

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

import char4tobyte3 from '@codec-bytes/base64/src/char4tobyte3.js'

Params:

NameTypeAttributeDescription
index *
a *
b *
c *
d *

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