Options
All
  • Public
  • Public/Protected
  • All
Menu

Implements standard Base64-encoding.

Operates in constant time.

Hierarchy

Index

Constructors

constructor

  • new Coder(_paddingCharacter?: string): Coder

Methods

Protected _decodeChar

  • _decodeChar(c: number): number

Protected _encodeByte

  • _encodeByte(b: number): string

decode

  • decode(s: string): Uint8Array

decodedLength

  • decodedLength(s: string): number

encode

  • encode(data: Uint8Array): string

encodedLength

  • encodedLength(length: number): number

maxDecodedLength

  • maxDecodedLength(length: number): number

Generated using TypeDoc