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 ?
Log in to post a comment.
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 ?