fix: File Provider adding zero bytes at the end of the data when saving
Fixes #835
This commit is contained in:
parent
398dc8101f
commit
c194588118
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
||||
Subproject commit 254b86d9519012985e9e9eaba35b9ead9be56c52
|
||||
Subproject commit ffa76d3db453f92340448179c7f2982c1a6ba5f4
|
@ -86,7 +86,7 @@ namespace hex::plugin::builtin {
|
||||
bufferSize = provider->getActualSize() - offset;
|
||||
|
||||
provider->read(offset + this->getBaseAddress(), buffer.data(), bufferSize);
|
||||
file.write(buffer);
|
||||
file.write(buffer.data(), bufferSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user