This function reads data from the input file and writes it directly to the output file without any decompression.
69 char* _bufferIn = (
char*)malloc(_DEFAULT_BLOCK_SIZE);
70 size_t bytesReaded = 0ull;
71 size_t nextBlockSize = _DEFAULT_BLOCK_SIZE;
73 uint32_t _crc32 = crc32(0L, Z_NULL, 0);
77 size_t _readed = _freadb(_bufferIn, 1ull, nextBlockSize, _infile);
78 _crc32 = crc32(_crc32, _bufferIn, _readed);
80 _fwriteb(_bufferIn, 1ull, _readed, _outfile);
81 bytesReaded += _readed;
84 if (_read_size - bytesReaded < nextBlockSize)
85 nextBlockSize = _read_size - bytesReaded;
86 }
while (bytesReaded != _read_size);
88 if (bytesReaded != _read_size)
@ GPAK_STAGE_DECOMPRESSION