Package org.nfctools.mf.block

Examples of org.nfctools.mf.block.MfBlock


        int sectorId = Integer.parseInt(matcher.group(1));
        int blockId = Integer.parseInt(matcher.group(2));
        byte[] keyA = NfcUtils.convertASCIIToBin(matcher.group(3));
        byte[] blockData = NfcUtils.convertASCIIToBin(matcher.group(4));

        MfBlock resolvedBlock = blockResolver.resolveBlock(mfCard, sectorId, blockId, blockData);
        if (mfCard.isTrailerBlock(sectorId, blockId))
          System.arraycopy(keyA, 0, blockData, 0, 6);
        blockMap.put(blockNumber, resolvedBlock);
        blockNumber++;
      }
View Full Code Here

TOP

Related Classes of org.nfctools.mf.block.MfBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.