Home Manual Reference Source

Function

Static Public Summary
public

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

public

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

Static Private Summary
private

* _decode(bytes: *, _options: undefined)

private

* _encode(string: *, _options: undefined)

Static Public

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

Params:

NameTypeAttributeDescription
bytes *
options undefined
  • optional
  • default: undefined

Return:

*

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

Params:

NameTypeAttributeDescription
bytes *
options undefined
  • optional
  • default: undefined

Return:

undefined[]

Static Private

private * _decode(bytes: *, _options: undefined) source

import _decode from '@codec-bytes/ascii/src/_decode.js'

Params:

NameTypeAttributeDescription
bytes *
_options undefined
  • optional
  • default: undefined

private * _encode(string: *, _options: undefined) source

import _encode from '@codec-bytes/ascii/src/_encode.js'

Params:

NameTypeAttributeDescription
string *
_options undefined
  • optional
  • default: undefined