Documentation
¶
Index ¶
Constants ¶
View Source
const ( FNC1 = -1 FNC2 = -2 FNC3 = -3 FNC4 = -4 FNC1String = "\\<FNC1>" FNC2String = "\\<FNC2>" FNC3String = "\\<FNC3>" FNC4String = "\\<FNC4>" )
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode decodes barcode `patterns` which contains multiple rows with scanned bar/space amounts, start with prefix `11` and end with suffix `4`, returns basic text. The basic text means that text decoded by this method contains checksum mixin characters. It treads the Code49 as Mode-0, ignores other non-data characters. If `skipChecksum` presents to true, Decode will ignore the last line of `patterns`.
func DecodeRaw ¶
DecodeRaw decodes barcode `patterns` which contains multiple rows with scanned bar/space amounts, start with prefix `11` and end with suffix `4`, returns raw text. It treads the Code49 as Mode-0, ignores other non-data characters.
Types ¶
Click to show internal directories.
Click to hide internal directories.