in src/main/java/software/amazon/qldb/ResultRetriever.java [156:163]
public synchronized IonValue next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
// TODO: Use an InputStream instead after the GitHub feature https://github.com/amzn/ion-java/issues/292 is resolved
final byte[] bytes = currentPage.values().get(currentResultValueIndex++).ionBinary().asByteArray();
return ionSystem.singleValue(bytes);
}