* <p>The main class which implements QR Code decoding -- as opposed to locating and extracting\r
* the QR Code from an image.</p>\r
*\r
- * @author srowen@google.com (Sean Owen)\r
+ * @author Sean Owen\r
*/\r
public final class Decoder {\r
\r
}\r
\r
// Decode the contents of that stream of bytes\r
- String text = DecodedBitStreamParser.decode(resultBytes, version);\r
- return new DecoderResult(resultBytes, text);\r
+ return DecodedBitStreamParser.decode(resultBytes, version);\r
}\r
\r
/**\r
}\r
int numECCodewords = codewordBytes.length - numDataCodewords;\r
try {\r
- rsDecoder.decode(codewordsInts, numECCodewords, false);\r
+ rsDecoder.decode(codewordsInts, numECCodewords);\r
} catch (ReedSolomonException rse) {\r
throw new ReaderException(rse.toString());\r
}\r