Reads from an open directory entry.
zip_entryA directory entry returned by zip_read().
lengthThe number of bytes to return. If not specified, this function will attempt to read 1024 bytes.
Note: This should be the uncompressed length you wish to read.