Skip to content

Instantly share code, notes, and snippets.

@carlosdlf
Created August 25, 2017 17:11
Show Gist options
  • Save carlosdlf/a6887e82e3c3f1648ef452e7496d1ce7 to your computer and use it in GitHub Desktop.
Save carlosdlf/a6887e82e3c3f1648ef452e7496d1ce7 to your computer and use it in GitHub Desktop.
public class Decoder {
public static void main(String[] args) {
RootDecoder rootDecoder = new RootDecoder();
List<DecodedData> zxc = rootDecoder
.decode("5F34010182023C009F100706010A03A0B0009F26082F1D19F97D74AF009F360203975F2A020604950580800400009A031708019C01309F02060000000000009F03060000000000009F1A0206049F33036040209F3704BA6FF67F", "EMV", "constructed");
for (DecodedData decodedData : zxc) {
System.out.println("tag ->"+decodedData.component1() + " desc ->" + decodedData.component2() + " valor -> " + decodedData.component3());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment