Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Base64

Index

Constructors

constructor

Properties

Readonly Abstract alphabet

alphabet: string

Accessors

Static standardPadded

  • get standardPadded(): Base64
  • Returns Base64

Static standardUnpadded

  • get standardUnpadded(): Base64
  • Returns Base64

Static urlPadded

  • Returns Base64

Static urlUnpadded

  • Returns Base64

Methods

Abstract asPadded

  • asPadded(padded: boolean): Base64
  • Parameters

    • padded: boolean

    Returns Base64

decodeDigit

  • decodeDigit(c: number): number
  • Parameters

    • c: number

    Returns number

encodeDigit

  • encodeDigit(b: number): number
  • Parameters

    • b: number

    Returns number

Abstract isDigit

  • isDigit(c: number): boolean
  • Parameters

    • c: number

    Returns boolean

Abstract isPadded

  • isPadded(): boolean
  • Returns boolean

parse

  • Type parameters

    • O

    Parameters

    Returns Parser<O>

parseUint8Array

  • Parameters

    Returns Parser<Uint8Array>

parser

  • Type parameters

    • O

    Parameters

    Returns Parser<O>

uint8ArrayWriter

  • uint8ArrayWriter(): Writer<Uint8Array, unknown>
  • uint8ArrayWriter(input: Uint8Array): Writer<unknown, Uint8Array>
  • Returns Writer<Uint8Array, unknown>

  • Parameters

    • input: Uint8Array

    Returns Writer<unknown, Uint8Array>

writeQuantum

  • writeQuantum(c1: number, c2: number, c3: number, c4: number, output: Output<unknown>): void
  • Parameters

    • c1: number
    • c2: number
    • c3: number
    • c4: number
    • output: Output<unknown>

    Returns void

writeUint8Array

  • writeUint8Array(input: Uint8Array, output: Output<unknown>): Writer<unknown, unknown>
  • Parameters

    • input: Uint8Array
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

Static standard

  • standard(padded?: boolean): Base64
  • Parameters

    • Optional padded: boolean

    Returns Base64

Static url

  • url(padded?: boolean): Base64
  • Parameters

    • Optional padded: boolean

    Returns Base64

Generated using TypeDoc