C# Класс ZXing.Aztec.Internal.HighLevelEncoder

This produces nearly optimal encodings of text into the first-level of encoding used by Aztec code. It uses a dynamic algorithm. For each prefix of the string, it determines a set of encodings that could lead to this prefix. We repeatedly add a character and generate a new set of optimal encodings until we have read through the entire input. @author Frank Yellin @author Rustam Abdullaev
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
HighLevelEncoder ( byte text ) : System
encode ( ) : BitArray

Convert the text represented by this High Level Encoder into a BitArray.

Приватные методы

Метод Описание
HighLevelEncoder ( ) : System
simplifyStates ( IEnumerable states ) : ICollection
updateStateForChar ( ZXing.Aztec.Internal.State state, int index, ICollection result ) : void
updateStateForPair ( ZXing.Aztec.Internal.State state, int index, int pairCode, ICollection result ) : void
updateStateListForChar ( IEnumerable states, int index ) : ICollection
updateStateListForPair ( IEnumerable states, int index, int pairCode ) : ICollection

Описание методов

HighLevelEncoder() публичный Метод

public HighLevelEncoder ( byte text ) : System
text byte
Результат System

encode() публичный Метод

Convert the text represented by this High Level Encoder into a BitArray.
public encode ( ) : BitArray
Результат ZXing.Common.BitArray