Codename LogoCodename Logo

funkin.backend.utils.SysZip

APIWiki

Class that extends Reader allowing you to load ZIP entries without blowing your RAM up!! Half of the code is taken from haxe libraries btw

Static methods

View in GitHub

staticopenFromFile(path:String):SysZip

Opens a zip from a specified path.

Parameters:

path

Path to the zip file.

Constructor

View in GitHub

new(input:FileInput)

Creates a new SysZip from a specified file input.

Parameters:

input

File input.

Variables

Methods

View in GitHub

readEntryData(e:SysZipEntry):Bytes

Reads all the data present in a specified entry. NOTE: If the entry is compressed, the data won't be decompressed. For decompression, use unzipEntry.

Parameters:

e

Entry

View in GitHub

unzipEntry(f:SysZipEntry):Bytes

Unzips and returns all of the data present in an entry.

Parameters:

f

Entry to read from.