Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataMatrixWriter ¶
Types ¶
type DataMatrixReader ¶
type DataMatrixReader struct {
// contains filtered or unexported fields
}
func NewDataMatrixReader ¶
func NewDataMatrixReader() *DataMatrixReader
func (*DataMatrixReader) Decode ¶
func (r *DataMatrixReader) Decode(image *gozxing.BinaryBitmap, hints map[gozxing.DecodeHintType]interface{}) (*gozxing.Result, error)
Decode Locates and decodes a Data Matrix code in an image.
@return a String representing the content encoded by the Data Matrix code @throws NotFoundException if a Data Matrix code cannot be found @throws FormatException if a Data Matrix code cannot be decoded @throws ChecksumException if error correction fails
func (*DataMatrixReader) DecodeWithoutHints ¶
func (r *DataMatrixReader) DecodeWithoutHints(image *gozxing.BinaryBitmap) (*gozxing.Result, error)
func (*DataMatrixReader) Reset ¶
func (r *DataMatrixReader) Reset()
type DataMatrixWriter ¶
type DataMatrixWriter struct{}
DataMatrixWriter This object renders a Data Matrix code as a BitMatrix 2D array of greyscale values.
func (*DataMatrixWriter) Encode ¶
func (this *DataMatrixWriter) Encode(contents string, format gozxing.BarcodeFormat, width, height int, hints map[gozxing.EncodeHintType]interface{}) (*gozxing.BitMatrix, error)
func (*DataMatrixWriter) EncodeWithoutHint ¶
func (this *DataMatrixWriter) EncodeWithoutHint( contents string, format gozxing.BarcodeFormat, width, height int) (*gozxing.BitMatrix, error)
Click to show internal directories.
Click to hide internal directories.