Constructors
constructor
- new Mode(characterCountBitsForVersions: number[], bits: number, name: string): Mode
-
Parameters
-
characterCountBitsForVersions: number[]
-
bits: number
-
name: string
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
GetCharacterCountBits
- GetCharacterCountBits(version: Version): number
-
Parameters
Returns number
Static ForBits
- ForBits(bits: number): Mode