Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBits ¶
ReadBits extracts the contents bits from the QR-code, excluding markers and all special dots, applying the given mask, and putting everything in the right order. See https://www.thonky.com/qr-code-tutorial/module-placement-matrix#step-6-place-the-data-bits for a visual explanation.
Types ¶
type MaskID ¶
type MaskID uint8
func Format ¶
Format returns the QR-code "format", i.e. the mask ID used for the data dots and the error correction level. It uses both occurrences of the format and its error correction code, and returns the more likely value among all the encoded values. It fails when the format cannot be clearly recovered from the error correction codes.
Click to show internal directories.
Click to hide internal directories.