33 if ((value < 32 || value > 94)) {
62 DmtxByte edifactValue, previousOutput;
71 if (value < 31 || value > 94) {
76 edifactValue = (value & 0x3f) << 2;
157 if (outputTmp.length < 3) {
166 if (symbolRemaining < 3 && outputTmp.length <= symbolRemaining) {
170 for (i = 0; i < outputTmp.length; i++) {
194 if (cleanBoundary ==
DmtxFalse || symbolRemaining > 0) {
libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton.
static void completeIfDoneEdifact(DmtxEncodeStream *stream, int sizeIdxRequest)
Complete EDIFACT encoding if it matches a known end-of-symbol condition.
static void encodeNextChunkEdifact(DmtxEncodeStream *stream)
static void appendValueEdifact(DmtxEncodeStream *stream, DmtxByte value)
libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton.
static DmtxByte streamInputAdvanceNext(DmtxEncodeStream *stream)
static void streamOutputChainAppend(DmtxEncodeStream *stream, DmtxByte value)
#define DmtxChannelUnsupportedChar
static void padRemainingInAscii(DmtxEncodeStream *stream, int sizeIdx)
static void streamMarkInvalid(DmtxEncodeStream *stream, int reasonIdx)
static DmtxByte streamInputPeekNext(DmtxEncodeStream *stream)
static DmtxByte streamOutputChainRemoveLast(DmtxEncodeStream *stream)
static int findSymbolSize(int dataWords, int sizeIdxRequest)
static DmtxByteList encodeTmpRemainingInAscii(DmtxEncodeStream *stream, DmtxByte *storage, int capacity, DmtxPassFail *passFail)
static void streamMarkComplete(DmtxEncodeStream *stream, int sizeIdx)
#define DmtxUnlatchImplicit
static void encodeChangeScheme(DmtxEncodeStream *stream, DmtxScheme targetScheme, int unlatchType)
static int getRemainingSymbolCapacity(int outputLength, int sizeIdx)
static void appendValueAscii(DmtxEncodeStream *stream, DmtxByte value)
#define DmtxUnlatchExplicit
static void streamMarkFatal(DmtxEncodeStream *stream, int reasonIdx)
static DmtxBoolean streamInputHasNext(DmtxEncodeStream *stream)
DmtxByteList Use signed int for length fields instead of size_t to play nicely with RS arithmetic.
int outputChainValueCount