qr_code v1.0.4 QRCode.QR

QR code data structure

Link to this section Summary

Link to this section Types

Link to this type

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

Link to this type

level()
level() :: :low | :medium | :quartile | :high

Link to this type

mask_num()
mask_num() :: 0..7

Link to this type

mode()
mode() :: :numeric | :alphanumeric | :byte | :kanji | :eci

Link to this type

t()
t() :: %QRCode.QR{
  ecc: ExMaybe.t(QRCode.ErrorCorrection.t()),
  ecc_level: level(),
  encoded: ExMaybe.t(binary()),
  mask_num: mask_num(),
  matrix: MatrixReloaded.Matrix.t(),
  message: ExMaybe.t(String.t()),
  mode: mode(),
  orig: ExMaybe.t(String.t()),
  version: ExMaybe.t(version())
}

Link to this type

version()
version() :: 1..40

Link to this section Functions

Link to this function

create(orig, level \\ :low)
create(String.t(), level()) :: Result.t(String.t(), t())

Link to this macro

level(lvl) (macro)

Link to this macro

masking(m) (macro)

Link to this macro

version(v) (macro)