zip_read
host callCapy
function zip_read(path : string, entry : string) string
Description
zip_read() returns one ZIP archive entry.
Parameters
path : archive path
entry : entry name
Return Values
The uncompressed entry bytes.
Example
Capy
var archive := file_temp("/tmp/capy-zip-") + ".zip"
zip_create(archive, dval({"note.txt": "hello"}))
print(zip_read(archive, "note.txt"), "\n")
file_unlink(archive)