Table of Contents

Class HighLevelEncoder

Namespace
ZXing.Aztec.Internal
Assembly
zxing.dll

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

public sealed class HighLevelEncoder
Inheritance
HighLevelEncoder
Inherited Members

Constructors

HighLevelEncoder(byte[])

public HighLevelEncoder(byte[] text)

Parameters

text byte[]

HighLevelEncoder(byte[], Encoding)

public HighLevelEncoder(byte[] text, Encoding encoding)

Parameters

text byte[]
encoding Encoding

HighLevelEncoder(byte[], Encoding, bool)

public HighLevelEncoder(byte[] text, Encoding encoding, bool disableEci)

Parameters

text byte[]
encoding Encoding
disableEci bool

if true, disable ECI segment

Methods

encode()

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

public BitArray encode()

Returns

BitArray

text represented by this encoder encoded as a BitArray