read Boxes
fun readBoxes(byteReader: ByteReader, stopAfterMetadataRead: Boolean = false, positionOffset: Long = 0, offsetShift: Long = 0, updatePosition: (Long) -> Unit? = null): List<Box>
Parameters
byte Reader
The reader as source for the bytes
stop After Metadata Read
If reading the file for metadata on the highest level we want to stop reading after the meta boxes to prevent reading the whole image data block in. For iPhone HEIC this is possible, but Samsung HEIC has "meta" coming after "mdat"