Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
qr-code
v1.0.3
QRCode
Alphanumeric
ArgumentError
BitBuffer
EightBitByte
Math
Numeric
Polynomial
RSBlock
RuntimeError
Utilities
Generated using Crystal 1.10.1
2024-01-09 02:42:07 UTC
class
QRCode::
Numeric
QRCode::Numeric
Reference
Object
Defined in:
qr-code/numeric.cr
Constant Summary
NUMBER_LENGTH
=
{
-1
,
4
,
7
,
10
}
Constructors
.new
(data : String)
Class Method Summary
.valid_data?
(data)
Instance Method Summary
#get_length
#mode
: Int32
#write
(buffer)
Constructor Detail
def self.
new
(data : String)
#
[
View source
]
Class Method Detail
def self.
valid_data?
(data)
#
[
View source
]
Instance Method Detail
def
get_length
#
[
View source
]
def
mode
: Int32
#
[
View source
]
def
write
(buffer)
#
[
View source
]