com.google.zxing.pdf417.decoder.BitMatrixParser.findCodewordIndex(long)

Here are the examples of the csharp api class com.google.zxing.pdf417.decoder.BitMatrixParser.findCodewordIndex(long) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: ZXing-CSharp
Source File: BitMatrixParser.cs
View license
private static int getCodeword(long symbol)
		{
			long sym = symbol;
			sym &= 0x3ffff;
			int i = findCodewordIndex(sym);
			if (i == - 1)
			{
				return - 1;
			}
			else
			{
				long cw = CODEWORD_TABLE[i] - 1;
				cw %= 929;
				return (int) cw;
			}
		}