Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Encoding

Hierarchy

  • Encoding

Index

Methods

Static fromAscii

  • fromAscii(data: Uint8Array): string
  • Parameters

    • data: Uint8Array

    Returns string

Static fromBase64

  • fromBase64(base64String: string): Uint8Array
  • Parameters

    • base64String: string

    Returns Uint8Array

Static fromHex

  • fromHex(hexstring: string): Uint8Array
  • Parameters

    • hexstring: string

    Returns Uint8Array

Static fromRfc3339

  • fromRfc3339(str: string): ReadonlyDate

Static fromUtf8

  • fromUtf8(data: Uint8Array): string
  • Parameters

    • data: Uint8Array

    Returns string

Static toAscii

  • toAscii(input: string): Uint8Array
  • Parameters

    • input: string

    Returns Uint8Array

Static toBase64

  • toBase64(data: Uint8Array): string
  • Parameters

    • data: Uint8Array

    Returns string

Static toHex

  • toHex(data: Uint8Array): string
  • Parameters

    • data: Uint8Array

    Returns string

Static toRfc3339

  • toRfc3339(date: Date | ReadonlyDate): string
  • Parameters

    • date: Date | ReadonlyDate

    Returns string

Static toUtf8

  • toUtf8(str: string): Uint8Array

Generated using TypeDoc