Sha256: 751e8942a3bf2cf18e1c7e0a66cb0bdc3644d2342a98be9ccae475cc5a00da1f

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

module QRTools
  class Encoder
    NULL        = -1 # Terminator (NUL character)
    NUMERIC     = 0  # Numeric mode
    ALPHA_NUM   = 1  # Alphabet-numeric mode
    EIGHT_BIT   = 2  # 8-bit data mode
    KANJI       = 3  # Kanji (shift-jis) mode

    L = 0 # Error Correction L (Lowest)
    M = 1 # Error Correction M
    Q = 2 # Error Corretion Q
    H = 3 # Error Corretion H (highest)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrtools-1.0.0 lib/qrtools/encoder.rb
qrtools-1.0.1 lib/qrtools/encoder.rb