Back to project page RejsekortReader.
The source code is released under:
GNU General Public License
If you think the Android project RejsekortReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.rejsekort.reader.rkf.blocks; /*w w w. j a v a 2 s . co m*/ import info.rejsekort.reader.rkf.datatypes.DataType; import info.rejsekort.reader.rkf.datatypes.ByteString; public class CMIBlock extends InterpretedBlock { public ByteString mCardSerialNumber; public ByteString mCardSerialNumberCheckByte; public ByteString mManufacturerData; public CMIBlock(byte[] bits) { super("CMI", bits); mCardSerialNumber = new ByteString(32, true); mCardSerialNumberCheckByte = new ByteString(8, true); mManufacturerData = new ByteString(88, true); mFields = new DataType[] { mCardSerialNumber, mCardSerialNumberCheckByte, mManufacturerData }; mFieldNames = new String[] { "CardSerialNumber", "CardSerialNumberCheckByte", "ManufacturerData" }; interpretBlock(); } }