PackageFileHeapAccessorBase: small refactoring

* Pull method DecompressChunkData() out of ReadAndDecompressChunkData()
  for potential reuse.
* Also fix/improve some error output strings.
This commit is contained in:
Ingo Weinhold
2013-05-25 01:12:27 +02:00
parent 172f25fdda
commit 520a7a76c7
2 changed files with 24 additions and 8 deletions
@@ -63,6 +63,11 @@ protected:
size_t uncompressedSize,
void* compressedDataBuffer,
void* uncompressedDataBuffer);
status_t DecompressChunkData(
void* compressedDataBuffer,
size_t compressedSize,
void* uncompressedDataBuffer,
size_t uncompressedSize);
status_t ReadFileData(uint64 offset, void* buffer,
size_t size);