Package com.google.zxing.qrcode.encoder
Class MinimalEncoder.ResultList.ResultNode
java.lang.Object
com.google.zxing.qrcode.encoder.MinimalEncoder.ResultList.ResultNode
- Enclosing class:
MinimalEncoder.ResultList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final Mode
-
Constructor Summary
ConstructorsConstructorDescriptionResultNode
(Mode mode, int fromPosition, int charsetEncoderIndex, int characterLength) -
Method Summary
-
Field Details
-
mode
-
fromPosition
private final int fromPosition -
charsetEncoderIndex
private final int charsetEncoderIndex -
characterLength
private final int characterLength
-
-
Constructor Details
-
ResultNode
ResultNode(Mode mode, int fromPosition, int charsetEncoderIndex, int characterLength)
-
-
Method Details
-
getSize
returns the size in bits -
getCharacterCountIndicator
private int getCharacterCountIndicator()returns the length in characters according to the specification (differs from getCharacterLength() in BYTE mode for multi byte encoded characters) -
getBits
appends the bits- Throws:
WriterException
-
toString
-
makePrintable
-