Properties
decode
Type declaration
- (str, LIMIT?): Decoded
Parameters
str: string
Optional
LIMIT: number
decodeUnsafe
decodeUnsafe: ((str,
LIMIT?) => undefined | Decoded) Type declaration
- (str, LIMIT?): undefined | Decoded
Parameters
str: string
Optional
LIMIT: number
Returns undefined | Decoded
encode
encode: ((prefix, words, LIMIT?) => string)
Type declaration
- (prefix, words, LIMIT?): string
Parameters
prefix: string
words: ArrayLike<number>
Optional
LIMIT: number
Returns string
fromWords
fromWords: ((words) => number[])
Type declaration
- (words): number[]
Returns number[]
fromWordsUnsafe
fromWordsUnsafe: ((words) => number[] | undefined)
Type declaration
- (words): number[] | undefined
Returns number[] | undefined
toWords
toWords: ((bytes) => number[])
Type declaration
- (bytes): number[]
Returns number[]