QRCode.ErrorCorrection (QRCode v2.2.1) View Source

Error correction code words and block information.

Link to this section Summary

Link to this section Types

Specs

codewords() :: groups()

Specs

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

Specs

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

Specs

put(QRCode.QR.t()) :: QRCode.QR.t()
Link to this function

total_data_codewords(qr)

View Source

Specs

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