Constructor

new()

Variables

@:value(0)totalReadBytes:Int = 0

@:value(0)totalReadCount:Int = 0

Methods

addPak(file:FileInput, ?path:String):Void

Add the .pak file directly.

This method is intended to be used with single-threaded environment such as HTML5 target, as it doesn't have access to sys package.

Use with multi-threaded environment at your own risk.

dir(path:String):Array<FileEntry>

dispose():Void

exists(path:String):Bool

get(path:String):FileEntry

loadPak(file:String):Void