Stuk / jszip

Create, read and edit .zip files with Javascript
https://stuk.github.io/jszip/
Other
9.77k stars 1.3k forks source link

Error: End of data reached #920

Open EvPut opened 7 months ago

EvPut commented 7 months ago

This problem arose when unpacking the archive on the device, please tell me what could be the problem?

`let data = await Filesystem.readFile({ path: 'mapData/map1.zip', directory: Directory.Documents encoding: Encoding.UTF8, });

let zipContent = await JSZip.loadAsync(data.data);`

Error: End of data reached (data length = 1383041, asked index = 1383042). Corrupted zip ?

Thanks in advance.