A2B: Add additional examples

Device: Add coremini loading example
This commit is contained in:
Yasser Yassine
2023-04-12 16:29:48 +00:00
parent 63c81b1c3d
commit 3ddb832708
8 changed files with 188 additions and 62 deletions
@@ -69,7 +69,7 @@ A2BDecoder::A2BDecoder(
) : A2BDecoder(std::make_unique<std::ifstream>(filename, std::ios::binary), chSize16, chMap) { }
A2BDecoder::operator bool() const {
return initialized && *stream;
return initialized && stream->good() && !stream->eof();
}
void A2BDecoder::initializeFromHeader() {