View Source QRCode.ErrorCorrection (QRCode v3.1.0)
Error correction code words and block information.
Summary
Types
@type codewords() :: groups()
@type groups() :: {[[], ...], [[]]}
@type t() :: %QRCode.ErrorCorrection{ blocks_in_group1: ExMaybe.t(integer()), blocks_in_group2: ExMaybe.t(integer()), codewords: ExMaybe.t(codewords()), codewords_per_block_in_group1: ExMaybe.t(integer()), codewords_per_block_in_group2: ExMaybe.t(integer()), ec_codewrods_per_block: ExMaybe.t(integer()), groups: ExMaybe.t(groups()) }
Functions
@spec put(QRCode.QR.t()) :: QRCode.QR.t()
@spec total_data_codewords(QRCode.QR.t()) :: integer()