TubZipReader Class for read zip archives. Can read from file name or from TubBuffer
# new TubZipReader (from: String)
Members
# fileCount : number instance
Read only file count inside archive
# fileNames : Array instance
Read only array of file names inside archive
Methods
# unZipAllToDir (dirName: String) → Boolean instance
Unzip all files to specified folder.
Return:
Success
Arguments:
dirName
: Stringdirectory name to unzip files to
# unZipToBuffer (fileIndex: Number, dest: TubBuffer) → number instance
Unzip specified file and append to existed TubBuffer.
Return:
Unzipped bytes count
# unZipToDir (fileIndex: Number, dirName: String) → Boolean instance
Unzip specified file to specified folder.
Return:
Success