Actually, let the scanner read codes using structured append -- just ignore these segments and show whatever part of the overall message that this code encodes

git-svn-id: https://zxing.googlecode.com/svn/trunk@830 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2009-01-21 21:07:00 +00:00
parent e7f4699037
commit f05302cc4c

View file

@ -81,8 +81,9 @@ final class DecodedBitStreamParser {
// We do little with FNC1 except alter the parsed result a bit according to the spec
fc1InEffect = true;
} else if (mode.equals(Mode.STRUCTURED_APPEND)) {
// not supported
throw ReaderException.getInstance();
// not really supported; all we do is ignore it
// Read next 8 bits (symbol sequence #) and 8 bits (parity data), then continue
bits.readBits(16);
} else if (mode.equals(Mode.ECI)) {
// Count doesn't apply to ECI
try {