mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-20 10:15:21 -04:00
UByteArray integrated
- another Qt class can be replaced for non-Qt builds
This commit is contained in:
parent
804a55ba64
commit
71ba5fe582
10 changed files with 56 additions and 28 deletions
|
@ -48,9 +48,11 @@ int main(int argc, char *argv[])
|
|||
return U_FILE_OPEN;
|
||||
|
||||
// Read and close the file
|
||||
UByteArray buffer = inputFile.readAll();
|
||||
QByteArray b = inputFile.readAll();
|
||||
inputFile.close();
|
||||
|
||||
UByteArray buffer(b.constData(), b.size());
|
||||
|
||||
// Create model and ffsParser
|
||||
TreeModel model;
|
||||
FfsParser ffsParser(&model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue