qr_code v1.0.4 QRCode.ErrorCorrection

Error correction code words and block information.

Link to this section Summary

Link to this section Types

Link to this type

codewords()
codewords() :: groups()

Link to this type

groups()
groups() :: {[[], ...], [[]]}

Link to this type

t()
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())
}

Link to this section Functions

Link to this function

total_data_codewords(qr)
total_data_codewords(QRCode.QR.t()) :: integer()