public static EmvTlvList ParseDol(ExtendedByteArray rawDol) { EmvTlvList result = new EmvTlvList(); int i = 0; while (i < rawDol.Bytes.Length && i != -1) { Tuple <int, EmvTlv> t = Parse(rawDol.Bytes, i, false); if (t.Item2 != null) { result.Add(t.Item2); } i = t.Item1; } return(result); }
public static EmvTlvList Parse(ExtendedByteArray data) { return(EmvTagParser.ParseTlvList(data)); }
public static EmvTlv ParseTlv(ExtendedByteArray rawTlv) { return(Parse(rawTlv.Bytes).Item2); }