Hierarchy

  • Mode

Index

Constructors

constructor

  • new Mode(characterCountBitsForVersions: number[], bits: number, name: string): Mode
  • Parameters

    • characterCountBitsForVersions: number[]
    • bits: number
    • name: string

    Returns Mode

Properties

Static ALPHANUMERIC

ALPHANUMERIC: Mode = new Mode([9, 11, 13], 2, "ALPHANUMERIC")

Static BYTE

BYTE: Mode = new Mode([8, 16, 16], 4, "BYTE")

Static ECI

ECI: Mode = new Mode(null, 7, "ECI")

Static FNC1_FIRST_POSITION

FNC1_FIRST_POSITION: Mode = new Mode(null, 5, "FNC1_FIRST_POSITION")

Static FNC1_SECOND_POSITION

FNC1_SECOND_POSITION: Mode = new Mode(null, 9, "FNC1_SECOND_POSITION")

Static KANJI

KANJI: Mode = new Mode([8, 10, 12], 8, "KANJI")

Static NUMERIC

NUMERIC: Mode = new Mode([10, 12, 14], 1, "NUMERIC")

Static STRUCTURED_APPEND

STRUCTURED_APPEND: Mode = new Mode([0, 0, 0], 3, "STRUCTURED_APPEND")

Static TERMINATOR

TERMINATOR: Mode = new Mode([0, 0, 0], 0, "TERMINATOR")

Methods

GetBits

  • GetBits(): number
  • Returns number

GetCharacterCountBits

  • GetCharacterCountBits(version: Version): number
  • Parameters

    Returns number

GetName

  • GetName(): string
  • Returns string

ToString

  • ToString(): string
  • Returns string

Static ForBits

  • ForBits(bits: number): Mode
  • Parameters

    • bits: number

    Returns Mode

Generated using TypeDoc