Class ZipAssetSource
public class ZipAssetSource : IAssetSource, IDisposable
- Inheritance
-
ZipAssetSource
- Implements
- Inherited Members
Constructors
ZipAssetSource(string)
public ZipAssetSource(string zipPath)
Parameters
zipPathstring
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EnumerateFiles(string)
public IEnumerable<AssetFile> EnumerateFiles(string prefix)
Parameters
prefixstring
Returns
OpenRead(string)
public Stream OpenRead(string path)
Parameters
pathstring
Returns
TryGetFile(string, out AssetFile)
public bool TryGetFile(string path, out AssetFile file)
Parameters
Returns
TryOpenRead(string, out Stream?)
public bool TryOpenRead(string path, out Stream? stream)