de.uniks.networkparser.bytes.qr.QRTokener.class Maven / Gradle / Ivy
???? 4
~CD EF
G "HI
J
K
"LM
N
"OP
Q
R
S
T
UV
WX
Y
Z[
Z\
Z]
"^
_`
ab
c
de
df
dg
dhij
"kl
%C mn
op
"q
"r
st
%u
mv
"w
%x
%y
oz
"{
s|
s}
?~
"
??
"??
9C
9?
9?
9?
s??
??
"?
9?
??
9? "??
"? m?
o?
"? m? m?
o??????
"???
SC?
S?
S??
S?
%?
%??????? ?
"?
%?
"?
??????
?
m??
"?
"?
"?
"??
S??z??
C
? ?@ ?? ?@ ? ?@?? rsDecoder -Lde/uniks/networkparser/bytes/qr/ReedSolomon; ALPHANUMERIC_TABLE [I DEFAULT_BYTE_MODE_ENCODING Ljava/lang/String;
ConstantValue ()V Code LineNumberTable LocalVariableTable this +Lde/uniks/networkparser/bytes/qr/QRTokener; decode 4([[Z)Lde/uniks/networkparser/bytes/qr/DecoderResult; j I i image [[Z dimension bits +Lde/uniks/networkparser/bytes/qr/BitMatrix;
StackMapTableI
Exceptions 4([[B)Lde/uniks/networkparser/bytes/qr/DecoderResult; bytes [[B \(Lde/uniks/networkparser/bytes/qr/BitMatrix;)Lde/uniks/networkparser/bytes/qr/DecoderResult; e Ljava/lang/RuntimeException; Ljava/lang/Exception; parser 1Lde/uniks/networkparser/bytes/qr/BitMatrixParser; exception result /Lde/uniks/networkparser/bytes/qr/DecoderResult;iMV?P b(Lde/uniks/networkparser/bytes/qr/BitMatrixParser;)Lde/uniks/networkparser/bytes/qr/DecoderResult; dataBlock +Lde/uniks/networkparser/bytes/qr/DataBlock;
codewordBytes [B numDataCodewords version )Lde/uniks/networkparser/bytes/qr/Version; ecLevel 6Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel; codewords
dataBlocks ,[Lde/uniks/networkparser/bytes/qr/DataBlock;
totalBytes resultBytes resultOffset?? ? ??
correctErrors ([BI)V ignored numCodewords
codewordsInts numECCodewords ? calculateMaskPenalty /(Lde/uniks/networkparser/bytes/qr/ByteMatrix;)I matrix ,Lde/uniks/networkparser/bytes/qr/ByteMatrix; encode r(Ljava/lang/String;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)Lde/uniks/networkparser/bytes/qr/QRCode; content encoding mode &Lde/uniks/networkparser/bytes/qr/Mode;
headerBits *Lde/uniks/networkparser/bytes/qr/BitArray; dataBits provisionalBitsNeeded provisionalVersion
bitsNeeded headerAndDataBits
numLetters ecBlock? ECB InnerClasses -Lde/uniks/networkparser/bytes/qr/Version$ECB; numDataBytes finalBits qrCode (Lde/uniks/networkparser/bytes/qr/QRCode; maskPattern??l getAlphanumericCode (I)I code
chooseMode L(Ljava/lang/String;Ljava/lang/String;)Lde/uniks/networkparser/bytes/qr/Mode; c C
hasNumeric Z hasAlphanumeric isOnlyDoubleByteKanji (Ljava/lang/String;)Z &Ljava/io/UnsupportedEncodingException; byte1 length? chooseMaskPattern ?(Lde/uniks/networkparser/bytes/qr/BitArray;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;Lde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/ByteMatrix;)I penalty
minPenalty bestMaskPattern
chooseVersion b(ILde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)Lde/uniks/networkparser/bytes/qr/Version;
numEcBytes totalInputBytes numBytes ecBlocks
versionNum numInputBits
terminateBits .(ILde/uniks/networkparser/bytes/qr/BitArray;)V capacity numBitsInLastByte numPaddingBytes &getNumDataBytesAndNumECBytesForBlockID (IIII[I[I)V
numTotalBytes numRSBlocks blockID numDataBytesInBlock numECBytesInBlock numRsBlocksInGroup2 numRsBlocksInGroup1 numTotalBytesInGroup1 numTotalBytesInGroup2 numDataBytesInGroup1 numDataBytesInGroup2 numEcBytesInGroup1 numEcBytesInGroup2 interleaveWithECBytes Y(Lde/uniks/networkparser/bytes/qr/BitArray;III)Lde/uniks/networkparser/bytes/qr/BitArray; numEcBytesInBlock size dataBytes ecBytes z dataBytesOffset maxNumDataBytes
maxNumEcBytes
datablocks errorblocks generateECBytes ([BI)[B toEncode appendModeInfo S(Lde/uniks/networkparser/bytes/qr/Mode;Lde/uniks/networkparser/bytes/qr/BitArray;)V appendLengthInfo }(ILde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/Mode;Lde/uniks/networkparser/bytes/qr/BitArray;)V numBits appendBytes w(Ljava/lang/String;Lde/uniks/networkparser/bytes/qr/Mode;Lde/uniks/networkparser/bytes/qr/BitArray;Ljava/lang/String;)V appendNumericBytes E(Ljava/lang/CharSequence;Lde/uniks/networkparser/bytes/qr/BitArray;)V num2 num3 num1 Ljava/lang/CharSequence; appendAlphanumericBytes code2 code1 append8BitBytes Q(Ljava/lang/String;Lde/uniks/networkparser/bytes/qr/BitArray;Ljava/lang/String;)V uee b B appendKanjiBytes ?(Ljava/lang/String;Lde/uniks/networkparser/bytes/qr/BitArray;)V byte2
subtracted encoded
SourceFile QRTokener.java ? ? +de/uniks/networkparser/bytes/qr/ReedSolomon??? ?? ? )de/uniks/networkparser/bytes/qr/BitMatrix ???? ? ? /de/uniks/networkparser/bytes/qr/BitMatrixParser ?? ? ? java/lang/RuntimeException? ???????? ? java/lang/Exception???????????? ? ?? ?? ?? ChecksumInstance ???? ?? ?? ?? ? )de/uniks/networkparser/bytes/qr/QRTokener
ISO-8859-1 ? ? (de/uniks/networkparser/bytes/qr/BitArray?? ????&'+,??????? ? ????? ??()???????? &de/uniks/networkparser/bytes/qr/QRCode???????? *de/uniks/networkparser/bytes/qr/ByteMatrix ?? ? ? ? ? ? Shift_JIS ? ? ? ? ? ?
? $java/io/UnsupportedEncodingException java/lang/Integer ? ? Data too big java/lang/StringBuilder #data bits cannot fit in the QR Code
> ?? !Bits size does not equal capacity Block ID too large EC bytes mismatch RS blocks mismatch Total bytes mismatch ,Number of bits and data bytes does not match #$ Data bytes does not match offset Interleaving error: and differ. ??? is bigger than -.3.67;< Invalid mode:
? Invalid byte sequence java/lang/Object -de/uniks/networkparser/bytes/qr/DecoderResult 'de/uniks/networkparser/bytes/qr/Version 4de/uniks/networkparser/bytes/qr/ErrorCorrectionLevel )de/uniks/networkparser/bytes/qr/DataBlock +de/uniks/networkparser/bytes/qr/Version$ECB java/lang/String $de/uniks/networkparser/bytes/qr/Mode )de/uniks/networkparser/bytes/qr/GenericGF QR_CODE_FIELD_256 +Lde/uniks/networkparser/bytes/qr/GenericGF; .(Lde/uniks/networkparser/bytes/qr/GenericGF;)V (I)V set (II)V .(Lde/uniks/networkparser/bytes/qr/BitMatrix;)V remask setMirror (Z)V readVersion +()Lde/uniks/networkparser/bytes/qr/Version; readFormatInformation 5()Lde/uniks/networkparser/bytes/qr/FormatInformation; mirror 1de/uniks/networkparser/bytes/qr/FormatInformation getErrorCorrectionLevel 8()Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;
readCodewords ()[B
getDataBlocks ?([BLde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)[Lde/uniks/networkparser/bytes/qr/DataBlock; getNumDataCodewords ()I getCodewords 6de/uniks/networkparser/bytes/qr/DecodedBitStreamParser ?([BLde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)Lde/uniks/networkparser/bytes/qr/DecoderResult; ([II)V (Ljava/lang/String;)V (de/uniks/networkparser/bytes/qr/MaskUtil applyMaskPenaltyRule1 applyMaskPenaltyRule2 applyMaskPenaltyRule3 applyMaskPenaltyRule4 BYTE equals (Ljava/lang/Object;)Z getVersionForNumber ,(I)Lde/uniks/networkparser/bytes/qr/Version; getSize getCharacterCountBits ,(Lde/uniks/networkparser/bytes/qr/Version;)I appendBitArray -(Lde/uniks/networkparser/bytes/qr/BitArray;)V getSizeInBytes getECBlocksForLevel e(Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)Lde/uniks/networkparser/bytes/qr/Version$ECB; getTotalCodewords getTotalECCodewords getNumBlocks
setECLevel 9(Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;)V setMode )(Lde/uniks/networkparser/bytes/qr/Mode;)V
setVersion ,(Lde/uniks/networkparser/bytes/qr/Version;)V getDimensionForVersion setMaskPattern *de/uniks/networkparser/bytes/qr/MatrixUtil buildMatrix ?(Lde/uniks/networkparser/bytes/qr/BitArray;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;Lde/uniks/networkparser/bytes/qr/Version;ILde/uniks/networkparser/bytes/qr/ByteMatrix;)V setMatrix /(Lde/uniks/networkparser/bytes/qr/ByteMatrix;)V KANJI charAt (I)C ALPHANUMERIC NUMERIC getBytes (Ljava/lang/String;)[B append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; appendBit
appendBits toBytes (I[BII)V java/lang/Math max (II)I getBits -(Ljava/lang/Object;)Ljava/lang/StringBuilder; java/lang/CharSequence (Ljava/lang/Throwable;)V ! " ~ ? ? ? ? ? ? # ? ? ? E *? *? Y? ? ? ? ? * + , ? ? ? ? ? ? ? B+?=? Y? N6? *6? +23? -? ???????*-? ? ? &