Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Base16

Index

Constructors

constructor

  • new Base16(alphabet: string): Base16
  • Parameters

    • alphabet: string

    Returns Base16

Properties

Readonly alphabet

alphabet: string

Accessors

Static lowercase

  • Returns Base16

Static uppercase

  • Returns Base16

Methods

encodeDigit

  • encodeDigit(b: number): number
  • Parameters

    • b: number

    Returns number

uint8ArrayWriter

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

  • Parameters

    • input: Uint8Array

    Returns Writer<unknown, Uint8Array>

writeInteger

  • writeInteger(input: number, output: Output<unknown>, width?: number): Writer<unknown, unknown>
  • Parameters

    • input: number
    • output: Output<unknown>
    • Optional width: number

    Returns Writer<unknown, unknown>

writeIntegerLiteral

  • writeIntegerLiteral(input: number, output: Output<unknown>, width?: number): Writer<unknown, unknown>
  • Parameters

    • input: number
    • output: Output<unknown>
    • Optional width: number

    Returns Writer<unknown, unknown>

writeUint8Array

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

    • input: Uint8Array
    • output: Output<unknown>

    Returns Writer<unknown, unknown>

Static decodeDigit

  • decodeDigit(c: number): number
  • Parameters

    • c: number

    Returns number

Static isDigit

  • isDigit(c: number): boolean
  • Parameters

    • c: number

    Returns boolean

Static parse

  • Type parameters

    • O

    Parameters

    Returns Parser<O>

Static parseUint8Array

  • Parameters

    Returns Parser<Uint8Array>

Static parser

  • Type parameters

    • O

    Parameters

    Returns Parser<O>

Static writeQuantum

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

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

    Returns void

Generated using TypeDoc