String imageIdentifier = "";
String applicationIdentifier = "";
byte[] applicationIdentifierSuffix = new byte[0];
try {
DataReference myDataReference = dataReferenceStack.pop();
myInputStream = myDataReference.createInputStream();
applicationIdentifierSuffix = BinaryTools.readByteArray(myInputStream, (int) myDataReference.getLength());
myInputStream.close();
myInputStream = null;
myDataReference = dataReferenceStack.pop();
myInputStream = myDataReference.createInputStream();
applicationIdentifier =
new String(BinaryTools.readByteArray(myInputStream, (int) myDataReference.getLength()));
myInputStream.close();
myInputStream = null;
myDataReference = dataReferenceStack.pop();
myInputStream = myDataReference.createInputStream();
imageIdentifier = new String(BinaryTools.readByteArray(myInputStream, (int) myDataReference.getLength()));
myInputStream.close();
myInputStream = null;
myInputStream = dataReferenceStack.pop().createInputStream();
recordingTimeCalendar.setTimeInMillis(BinaryTools.readUInt64AsLong(myInputStream));