C# 클래스 ZXing.Datamatrix.Encoder.HighLevelEncoder

DataMatrix ECC 200 data encoder following the algorithm described in ISO/IEC 16022:200(E) in annex S.
파일 보기 프로젝트 열기: Redth/ZXing.Net.Mobile 1 사용 예제들

공개 메소드들

메소드 설명
determineConsecutiveDigitCount ( String msg, int startpos ) : int

Determines the number of consecutive characters that are encodable using numeric compaction.

encodeHighLevel ( String msg ) : String

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).

encodeHighLevel ( String msg, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, int defaultEncodation ) : String

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).

비공개 메소드들

메소드 설명
findMinimums ( float charCounts, int intCharCounts, int min, byte mins ) : int
getMinimumCount ( byte mins ) : int
illegalCharacter ( char c ) : void
isDigit ( char ch ) : bool
isExtendedASCII ( char ch ) : bool
isNativeC40 ( char ch ) : bool
isNativeEDIFACT ( char ch ) : bool
isNativeText ( char ch ) : bool
isNativeX12 ( char ch ) : bool
isSpecialB256 ( char ch ) : bool
isX12TermSep ( char ch ) : bool
lookAheadTest ( String msg, int startpos, int currentMode ) : int
randomize253State ( char ch, int codewordPosition ) : char

Converts the message to a byte array using the default encoding (cp437) as defined by the specification

메소드 상세

determineConsecutiveDigitCount() 공개 정적인 메소드

Determines the number of consecutive characters that are encodable using numeric compaction.
public static determineConsecutiveDigitCount ( String msg, int startpos ) : int
msg String the message
startpos int the start position within the message
리턴 int

encodeHighLevel() 공개 정적인 메소드

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).
public static encodeHighLevel ( String msg ) : String
msg String the message
리턴 String

encodeHighLevel() 공개 정적인 메소드

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).
public static encodeHighLevel ( String msg, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, int defaultEncodation ) : String
msg String the message
shape SymbolShapeHint requested shape. May be {@code SymbolShapeHint.FORCE_NONE},{@code SymbolShapeHint.FORCE_SQUARE} or {@code SymbolShapeHint.FORCE_RECTANGLE}.
minSize Dimension the minimum symbol size constraint or null for no constraint
maxSize Dimension the maximum symbol size constraint or null for no constraint
defaultEncodation int
리턴 String