C# Class NanoByte.Common.Storage.SlimDX.EmbeddedFile

Information about an additional file to be stored along side an ZIP archive using Storage.XmlStorage or BinaryStorage.
显示文件 Open project: nano-byte/common

Private Properties

Property Type Description

Public Methods

Method Description
EmbeddedFile ( [ filename, [ readDelegate ) : System

Creates a new XML ZIP entry for reading

EmbeddedFile ( [ filename, int compressionLevel, [ writeDelegate ) : System

Creates a new XML ZIP entry for writing

Method Details

EmbeddedFile() public method

Creates a new XML ZIP entry for reading
public EmbeddedFile ( [ filename, [ readDelegate ) : System
filename [ The filename in the archive
readDelegate [ The delegate to be called when the data is ready to be read
return System

EmbeddedFile() public method

Creates a new XML ZIP entry for writing
public EmbeddedFile ( [ filename, int compressionLevel, [ writeDelegate ) : System
filename [ The filename in the archive
compressionLevel int The level of compression (0-9) to apply to this entry
writeDelegate [ The delegate to be called when the data is ready to be written
return System