fckeuspy-go/vendor/github.com/makiuchi-d/gozxing/qrcode/encoder/block_pair.go
2025-09-28 21:03:39 +02:00

19 lines
382 B
Go

package encoder
type BlockPair struct {
dataBytes []byte
errorCorrectionBytes []byte
}
func NewBlockPair(data []byte, errorCorrection []byte) *BlockPair {
return &BlockPair{data, errorCorrection}
}
func (this *BlockPair) GetDataBytes() []byte {
return this.dataBytes
}
func (this *BlockPair) GetErrorCorrectionBytes() []byte {
return this.errorCorrectionBytes
}