qrcode

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQRCodeReader

func NewQRCodeReader() gozxing.Reader

Types

type QRCodeReader

type QRCodeReader struct {
	// contains filtered or unexported fields
}

func (*QRCodeReader) Decode

func (this *QRCodeReader) Decode(image *gozxing.BinaryBitmap, hints map[gozxing.DecodeHintType]interface{}) (*gozxing.Result, error)

func (*QRCodeReader) DecodeWithoutHints

func (this *QRCodeReader) DecodeWithoutHints(image *gozxing.BinaryBitmap) (*gozxing.Result, error)

func (*QRCodeReader) GetDecoder

func (this *QRCodeReader) GetDecoder() *decoder.Decoder

func (*QRCodeReader) Reset

func (this *QRCodeReader) Reset()

type QRCodeWriter

type QRCodeWriter struct{}

func NewQRCodeWriter

func NewQRCodeWriter() *QRCodeWriter

func (*QRCodeWriter) Encode

func (this *QRCodeWriter) Encode(
	contents string, format gozxing.BarcodeFormat, width, height int,
	hints map[gozxing.EncodeHintType]interface{}) (*gozxing.BitMatrix, error)

func (*QRCodeWriter) EncodeWithoutHint

func (this *QRCodeWriter) EncodeWithoutHint(
	contents string, format gozxing.BarcodeFormat, width, height int) (*gozxing.BitMatrix, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL