+ // various streams have implemented eof differently, so check the archive
+ // stream works with all the possibilities (bit flags that can be ORed)
+ enum EofTypes {
+ AtLast = 0x01, // eof before an attempt to read past the last byte
+ WithError = 0x02 // give an error instead of eof
+ };
+