Examples of readBlock()


Examples of org.nfctools.test.MemoryMapUlReaderWriter.readBlock()

  @Test
  public void testIsFormatted() throws Exception {
    MemoryMap memoryMap = FileMfUlReader.loadCardFromFile("mfulc_formatted.txt");
    MfUlReaderWriter readerWriter = new MemoryMapUlReaderWriter(memoryMap);
    MfBlock[] blocks = readerWriter.readBlock(0, 5);
    assertTrue(UltralightHandler.isFormatted(blocks));
  }

  @Test
  public void itShouldExtractId() throws Exception {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.