Versions in this module Expand all Collapse all v0 v0.0.5 Aug 30, 2021 v0.0.4 Aug 19, 2021 Changes in this version + const HighLevelEncoder_ASCII_ENCODATION + const HighLevelEncoder_BASE256_ENCODATION + const HighLevelEncoder_C40_ENCODATION + const HighLevelEncoder_C40_UNLATCH + const HighLevelEncoder_EDIFACT_ENCODATION + const HighLevelEncoder_LATCH_TO_ANSIX12 + const HighLevelEncoder_LATCH_TO_BASE256 + const HighLevelEncoder_LATCH_TO_C40 + const HighLevelEncoder_LATCH_TO_EDIFACT + const HighLevelEncoder_LATCH_TO_TEXT + const HighLevelEncoder_MACRO_05 + const HighLevelEncoder_MACRO_05_HEADER + const HighLevelEncoder_MACRO_06 + const HighLevelEncoder_MACRO_06_HEADER + const HighLevelEncoder_MACRO_TRAILER + const HighLevelEncoder_PAD + const HighLevelEncoder_TEXT_ENCODATION + const HighLevelEncoder_UPPER_SHIFT + const HighLevelEncoder_X12_ENCODATION + const HighLevelEncoder_X12_UNLATCH + const SymbolShapeHint_FORCE_NONE + const SymbolShapeHint_FORCE_RECTANGLE + const SymbolShapeHint_FORCE_SQUARE + func EncodeHighLevel(msg string, shape SymbolShapeHint, minSize, maxSize *gozxing.Dimension) ([]byte, error) + func ErrorCorrection_EncodeECC200(codewords []byte, symbolInfo *SymbolInfo) ([]byte, error) + func HighLevelEncoder_determineConsecutiveDigitCount(msg []byte, startpos int) int + func HighLevelEncoder_isDigit(ch byte) bool + func HighLevelEncoder_isExtendedASCII(ch byte) bool + func HighLevelEncoder_lookAheadTest(msg []byte, startpos, currentMode int) int + type ASCIIEncoder struct + type Base256Encoder struct + type C40Encoder struct + type DefaultPlacement struct + func NewDefaultPlacement(codewords []byte, numcols, numrows int) *DefaultPlacement + func (this *DefaultPlacement) GetBit(col, row int) bool + func (this *DefaultPlacement) Place() + type EdifactEncoder struct + type Encoder interface + func NewASCIIEncoder() Encoder + func NewBase256Encoder() Encoder + func NewC40Encoder() Encoder + func NewEdifactEncoder() Encoder + func NewTextEncoder() Encoder + func NewX12Encoder() Encoder + type EncoderContext struct + func NewEncoderContext(msg string) (*EncoderContext, error) + func (this *EncoderContext) GetCodewordCount() int + func (this *EncoderContext) GetCodewords() []byte + func (this *EncoderContext) GetCurrent() byte + func (this *EncoderContext) GetCurrentChar() byte + func (this *EncoderContext) GetMessage() []byte + func (this *EncoderContext) GetNewEncoding() int + func (this *EncoderContext) GetRemainingCharacters() int + func (this *EncoderContext) GetSymbolInfo() *SymbolInfo + func (this *EncoderContext) HasMoreCharacters() bool + func (this *EncoderContext) ResetEncoderSignal() + func (this *EncoderContext) ResetSymbolInfo() + func (this *EncoderContext) SetSizeConstraints(minSize, maxSize *gozxing.Dimension) + func (this *EncoderContext) SetSkipAtEnd(count int) + func (this *EncoderContext) SetSymbolShape(shape SymbolShapeHint) + func (this *EncoderContext) SignalEncoderChange(encoding int) + func (this *EncoderContext) UpdateSymbolInfo() error + func (this *EncoderContext) UpdateSymbolInfoByLength(len int) error + func (this *EncoderContext) WriteCodeword(codeword byte) + func (this *EncoderContext) WriteCodewords(codewords []byte) + type SymbolInfo struct + func NewDataMatrixSymbolInfo144() *SymbolInfo + func NewSymbolInfo(rectangular bool, ...) *SymbolInfo + func NewSymbolInfoRS(rectangular bool, ...) *SymbolInfo + func SymbolInfo_Lookup(dataCodewords int, shape SymbolShapeHint, minSize, maxSize *gozxing.Dimension, ...) (*SymbolInfo, error) + func (this *SymbolInfo) GetCodewordCount() int + func (this *SymbolInfo) GetDataCapacity() int + func (this *SymbolInfo) GetDataLengthForInterleavedBlock(index int) int + func (this *SymbolInfo) GetErrorCodewords() int + func (this *SymbolInfo) GetErrorLengthForInterleavedBlock(index int) int + func (this *SymbolInfo) GetInterleavedBlockCount() int + func (this *SymbolInfo) GetMatrixHeight() int + func (this *SymbolInfo) GetMatrixWidth() int + func (this *SymbolInfo) GetSymbolDataHeight() int + func (this *SymbolInfo) GetSymbolDataWidth() int + func (this *SymbolInfo) GetSymbolHeight() int + func (this *SymbolInfo) GetSymbolWidth() int + func (this *SymbolInfo) String() string + type SymbolShapeHint int + type X12Encoder struct