Package org.nfctools.mf.ul

Examples of org.nfctools.mf.ul.MfUlReaderWriter


public class TagInputStreamTest {

  @Test
  public void testAvailable() throws Exception {
    InMemoryTag tag = new InMemoryTag(FileMfUlReader.loadCardFromFile("mful_formatted.txt"));
    MfUlReaderWriter readerWriter = new AcrMfUlReaderWriter(tag);

    TagInputStream in = new TagInputStream(MemoryLayout.ULTRALIGHT, readerWriter);

    for (int x = 0; x < 48; x++) {
      assertEquals(48 - x, in.available());
View Full Code Here

TOP

Related Classes of org.nfctools.mf.ul.MfUlReaderWriter

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.