Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DecodedBitStreamParser

QR Codes can encode text as bits in one of several modes, and can use multiple modes in one QR Code. This class decodes the bits back into text.

See ISO 18004:2006, 6.4.3 - 6.4.7

author

Sean Owen

Hierarchy

  • DecodedBitStreamParser

Index

Properties

Static Private ALPHANUMERIC_CHARS

ALPHANUMERIC_CHARS: string = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"

See ISO 18004:2006, 6.4.4 Table 5

Static Private GB2312_SUBSET

GB2312_SUBSET: number = 1

Methods

Static decode

Static Private decodeAlphanumericSegment

  • decodeAlphanumericSegment(bits: BitSource, result: StringBuilder, count: number, fc1InEffect: boolean): void

Static Private decodeByteSegment

Static Private decodeHanziSegment

Static Private decodeKanjiSegment

Static Private decodeNumericSegment

Static Private parseECIValue

Static Private toAlphaNumericChar

  • toAlphaNumericChar(value: number): string

Generated using TypeDoc