Documentation ¶
Overview ¶
Package reedsolomon provides error correction encoding for QR Code 2005.
QR Code 2005 uses a Reed-Solomon error correcting code to detect and correct errors encountered during decoding.
The generated RS codes are systematic, and consist of the input data with error correction bytes appended.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode data for QR Code 2005 using the appropriate Reed-Solomon code.
numECBytes is the number of error correction bytes to append, and is determined by the target QR Code's version and error correction level.
ISO/IEC 18004 table 9 specifies the numECBytes required. e.g. a 1-L code has numECBytes=7.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.