36,37c36,39 < as->ReadDirect(zz, 500000, 500000, samp_read, bytes_read); < fwrite(zz,bytes_read,1,f); --- > while (!as->Eof()) { > as->ReadDirect(zz, 500000, 500000, samp_read, bytes_read); > fwrite(zz,bytes_read,1,f); > } 46c48 < } \ No newline at end of file --- > }