Make start symbol a part of returned raw byte representation of Code 128

git-svn-id: https://zxing.googlecode.com/svn/trunk@2904 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen@gmail.com 2013-11-01 03:28:26 +00:00
parent 06236f7a7f
commit f03b60ef0d

View file

@ -240,6 +240,10 @@ public final class Code128Reader extends OneDReader {
int[] startPatternInfo = findStartPattern(row);
int startCode = startPatternInfo[2];
List<Byte> rawCodes = new ArrayList<Byte>(20);
rawCodes.add((byte) startCode);
int codeSet;
switch (startCode) {
case CODE_START_A:
@ -259,7 +263,6 @@ public final class Code128Reader extends OneDReader {
boolean isNextShifted = false;
StringBuilder result = new StringBuilder(20);
List<Byte> rawCodes = new ArrayList<Byte>(20);
int lastStart = startPatternInfo[0];
int nextStart = startPatternInfo[1];