Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncodeOptions ¶
type EncodeOptions interface {
// contains filtered or unexported methods
}
func WithKanji ¶
func WithKanji(use bool) EncodeOptions
func WithLevel ¶
func WithLevel(lv Level) EncodeOptions
func WithModuleSize ¶
func WithModuleSize(size float64) EncodeOptions
func WithQuiteZone ¶
func WithQuiteZone(n int) EncodeOptions
type Level ¶
type Level int
Level is a error correction level.
type Mode ¶
type Mode uint8
const ( // ModeECI is ECI(Extended Channel Interpretation) mode. ModeECI Mode = 0b0111 // ModeNumeric is number mode. // The Data must be ascii characters [0-9]. ModeNumeric Mode = 0b0001 // ModeAlphanumeric is alphabet and number mode. // The Data must be ascii characters [0-9A-Z $%*+\-./:]. ModeAlphanumeric Mode = 0b0010 // ModeBytes is 8-bit bytes mode. // The Data can include any bytes. ModeBytes Mode = 0b0100 // ModeKanji is Japanese Kanji mode. ModeKanji Mode = 0b1000 // ModeConnected is connected structure mode. ModeConnected Mode = 0b0011 ModeFNC1_1 Mode = 0b0101 ModeFNC1_2 Mode = 0b1001 ModeTerminated Mode = 0b0000 )
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
Package rmqr handles rMRQ Codes.
|
Package rmqr handles rMRQ Codes. |
Click to show internal directories.
Click to hide internal directories.