rss

package
v0.0.0-...-6be69a4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRSS14Reader

func NewRSS14Reader() gozxing.Reader

func RSSReader_decrement

func RSSReader_decrement(array []int, errors []float64)

func RSSReader_increment

func RSSReader_increment(array []int, errors []float64)

func RSSReader_isFinderPattern

func RSSReader_isFinderPattern(counters []int) bool

func RSSReader_parseFinderValue

func RSSReader_parseFinderValue(counters []int, finderPatterns [][]int) (int, error)

func RSSUtils_getRSSvalue

func RSSUtils_getRSSvalue(widths []int, maxWidth int, noNarrow bool) int

Types

type AbstractRSSReader

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

func NewAbstractRSSReader

func NewAbstractRSSReader() *AbstractRSSReader

func (*AbstractRSSReader) GetDataCharacterCounters

func (this *AbstractRSSReader) GetDataCharacterCounters() []int

func (*AbstractRSSReader) GetDecodeFinderCounters

func (this *AbstractRSSReader) GetDecodeFinderCounters() []int

func (*AbstractRSSReader) GetEvenCounts

func (this *AbstractRSSReader) GetEvenCounts() []int

func (*AbstractRSSReader) GetEvenRoundingErrors

func (this *AbstractRSSReader) GetEvenRoundingErrors() []float64

func (*AbstractRSSReader) GetOddCounts

func (this *AbstractRSSReader) GetOddCounts() []int

func (*AbstractRSSReader) GetOddRoundingErrors

func (this *AbstractRSSReader) GetOddRoundingErrors() []float64

type DataCharacter

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

func NewDataCharacter

func NewDataCharacter(value, checksumPortion int) *DataCharacter

func (*DataCharacter) Equals

func (this *DataCharacter) Equals(o interface{}) bool

func (*DataCharacter) GetChecksumPortion

func (this *DataCharacter) GetChecksumPortion() int

func (*DataCharacter) GetValue

func (this *DataCharacter) GetValue() int

func (*DataCharacter) HashCode

func (this *DataCharacter) HashCode() int

func (*DataCharacter) String

func (this *DataCharacter) String() string

type FinderPattern

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

func NewFinderPattern

func NewFinderPattern(value int, startEnd []int, start, end, rowNumber int) *FinderPattern

func (*FinderPattern) Equals

func (this *FinderPattern) Equals(o interface{}) bool

func (*FinderPattern) GetResultPoints

func (this *FinderPattern) GetResultPoints() []gozxing.ResultPoint

func (*FinderPattern) GetStartEnd

func (this *FinderPattern) GetStartEnd() []int

func (*FinderPattern) GetValue

func (this *FinderPattern) GetValue() int

func (*FinderPattern) HashCode

func (this *FinderPattern) HashCode() int

type Pair

type Pair struct {
	*DataCharacter
	// contains filtered or unexported fields
}

func NewPair

func NewPair(value, checksumPortion int, finderPattern *FinderPattern) *Pair

func (*Pair) GetCount

func (this *Pair) GetCount() int

func (*Pair) GetFinderPattern

func (this *Pair) GetFinderPattern() *FinderPattern

func (*Pair) IncrementCount

func (this *Pair) IncrementCount()

Jump to

Keyboard shortcuts

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