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; /*from w w w.j av a 2 s .c o m*/ import info.rejsekort.reader.rkf.datatypes.DataType; import info.rejsekort.reader.rkf.datatypes.RKFInteger; import info.rejsekort.reader.rkf.datatypes.ByteString; public class CommonTCSTBlock extends InterpretedBlock { public ByteString mIdentifier; public RKFInteger mVersionNumber; public CommonTCSTBlock(byte[] bits) { super("CommonTCST", bits); mIdentifier = new ByteString(8, false); mVersionNumber = new RKFInteger(6, true); mFields = new DataType[] { mIdentifier, mVersionNumber }; mFieldNames = new String[] { "Identifier", "VersionNumber" }; interpretBlock(); } }