Information about an additional file to be stored along side an ZIP archive using NanoByte.Common.Storage.XmlStorage or BinaryStorage.
More...
|
| EmbeddedFile ([NotNull] string filename, [NotNull] Action< Stream > readDelegate) |
| Creates a new XML ZIP entry for reading More...
|
|
| EmbeddedFile ([NotNull] string filename, int compressionLevel, [NotNull] Action< Stream > writeDelegate) |
| Creates a new XML ZIP entry for writing More...
|
|
Information about an additional file to be stored along side an ZIP archive using NanoByte.Common.Storage.XmlStorage or BinaryStorage.
◆ EmbeddedFile() [1/2]
OmegaEngine.Storage.EmbeddedFile.EmbeddedFile |
( |
[NotNull] string |
filename, |
|
|
[NotNull] Action< Stream > |
readDelegate |
|
) |
| |
|
inline |
Creates a new XML ZIP entry for reading
- Parameters
-
filename | The filename in the archive |
readDelegate | The delegate to be called when the data is ready to be read |
◆ EmbeddedFile() [2/2]
OmegaEngine.Storage.EmbeddedFile.EmbeddedFile |
( |
[NotNull] string |
filename, |
|
|
int |
compressionLevel, |
|
|
[NotNull] Action< Stream > |
writeDelegate |
|
) |
| |
|
inline |
Creates a new XML ZIP entry for writing
- Parameters
-
filename | The filename in the archive |
compressionLevel | 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 |
◆ CompressionLevel
int OmegaEngine.Storage.EmbeddedFile.CompressionLevel |
|
get |
The level of compression (0-9) to apply to this entry
◆ Filename
string OmegaEngine.Storage.EmbeddedFile.Filename |
|
get |
The filename in the archive
◆ StreamDelegate
Action<Stream> OmegaEngine.Storage.EmbeddedFile.StreamDelegate |
|
get |
The delegate to be called when the data is ready to be read/written to/form a stream
The documentation for this struct was generated from the following file:
- OmegaEngine/Storage/EmbeddedFile.cs