$rsDecoder
$rsDecoder : \Zxing\Common\Reedsolomon\ReedSolomonDecoder
<p>The main class which implements QR Code decoding -- as opposed to locating and extracting the QR Code from an image.</p>
$rsDecoder : \Zxing\Common\Reedsolomon\ReedSolomonDecoder
decodeImage(array $image, \Zxing\Qrcode\Decoder\decoding $hints = null) : \Zxing\Qrcode\Decoder\text
<p>Convenience method that can decode a QR Code represented as a 2D array of booleans.
"true" is taken to mean a black module.
| array | $image | booleans representing white/black QR Code modules |
| \Zxing\Qrcode\Decoder\decoding | $hints | hints that should be used to influence decoding |
if the QR Code cannot be decoded
if error correction fails
and bytes encoded within the QR Code
decodeBits(\Zxing\Common\BitMatrix $bits, \Zxing\Qrcode\Decoder\decoding $hints = null) : \Zxing\Qrcode\Decoder\text
<p>Decodes a QR Code represented as a {@link BitMatrix}. A 1 or "true" is taken to mean a black module.</p>
| \Zxing\Common\BitMatrix | $bits | booleans representing white/black QR Code modules |
| \Zxing\Qrcode\Decoder\decoding | $hints | hints that should be used to influence decoding |
if the QR Code cannot be decoded
if error correction fails
and bytes encoded within the QR Code
correctErrors(\Zxing\Qrcode\Decoder\data $codewordBytes, \Zxing\Qrcode\Decoder\number $numDataCodewords) : mixed
<p>Given data and error-correction codewords received, possibly corrupted by errors, attempts to correct the errors in-place using Reed-Solomon error correction.</p>
| \Zxing\Qrcode\Decoder\data | $codewordBytes | and error correction codewords |
| \Zxing\Qrcode\Decoder\number | $numDataCodewords | of codewords that are data bytes |
if error correction fails