Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2022 Changes in this version + const QRCode_NUM_MASK_PATERNS + var Encoder_DEFAULT_BYTE_MODE_ENCODING textencoding.Encoding = unicode.UTF8 + func MaskUtil_applyMaskPenaltyRule1(matrix *ByteMatrix) int + func MaskUtil_applyMaskPenaltyRule2(matrix *ByteMatrix) int + func MaskUtil_applyMaskPenaltyRule3(matrix *ByteMatrix) int + func MaskUtil_applyMaskPenaltyRule4(matrix *ByteMatrix) int + func MaskUtil_getDataMaskBit(maskPattern, x, y int) (bool, error) + func MatrixUtil_buildMatrix(dataBits *gozxing.BitArray, ecLevel decoder.ErrorCorrectionLevel, ...) error + func QRCode_IsValidMaskPattern(maskPattern int) bool + type BlockPair struct + func NewBlockPair(data []byte, errorCorrection []byte) *BlockPair + func (this *BlockPair) GetDataBytes() []byte + func (this *BlockPair) GetErrorCorrectionBytes() []byte + type ByteMatrix struct + func NewByteMatrix(width, height int) *ByteMatrix + func (this *ByteMatrix) Clear(value int8) + func (this *ByteMatrix) Get(x, y int) int8 + func (this *ByteMatrix) GetArray() [][]int8 + func (this *ByteMatrix) GetHeight() int + func (this *ByteMatrix) GetWidth() int + func (this *ByteMatrix) Set(x, y int, value int8) + func (this *ByteMatrix) SetBool(x, y int, value bool) + func (this *ByteMatrix) String() string + type QRCode struct + func Encoder_encode(content string, ecLevel decoder.ErrorCorrectionLevel, ...) (*QRCode, gozxing.WriterException) + func Encoder_encodeWithoutHint(content string, ecLevel decoder.ErrorCorrectionLevel) (*QRCode, gozxing.WriterException) + func NewQRCode() *QRCode + func (this *QRCode) GetECLevel() decoder.ErrorCorrectionLevel + func (this *QRCode) GetMaskPattern() int + func (this *QRCode) GetMatrix() *ByteMatrix + func (this *QRCode) GetMode() *decoder.Mode + func (this *QRCode) GetVersion() *decoder.Version + func (this *QRCode) SetECLevel(value decoder.ErrorCorrectionLevel) + func (this *QRCode) SetMaskPattern(value int) + func (this *QRCode) SetMatrix(value *ByteMatrix) + func (this *QRCode) SetMode(value *decoder.Mode) + func (this *QRCode) SetVersion(value *decoder.Version) + func (this *QRCode) String() string