Constructors
constructor
- new Coder(_paddingCharacter?): Coder
Parameters
- _paddingCharacter: string = "="
Methods
Protected
_decodeChar
- _decodeChar(c): number
Returns number
Protected
_encodeByte
- _encodeByte(b): string
Returns string
decode
- decode(s): Uint8Array
Returns Uint8Array
decodedLength
- decodedLength(s): number
Returns number
encode
- encode(data): string
Returns string
encodedLength
- encodedLength(length): number
Returns number
maxDecodedLength
- maxDecodedLength(length): number
Returns number
Implements standard Base64 encoding.
Operates in constant time.