Devang Sethi - 2017-01-20

I did this to decode a file:

InputStream stream = new FileInputStream(initialFile);
IDecoder decoder = CoderFactory.getInstance().newDecoder("BER");
TRecord seq = decoder.decode(stream, TRecord.class);

The "seq" variable here gives me only one record. How do I Iterate to other records of the file ?