Extracts the current file item into a byte array.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
| Visual Basic |
|---|
Public Overrides Function ExtractToArray As Byte() |
| C# |
|---|
public override byte[] ExtractToArray() |
Return Value
A byte array that contains extracted data.
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | The item is not a file. -or- The item is already deleted. |
| System..::..ObjectDisposedException | Archive was already disposed. |
| Rebex.IO.Compression..::..ZipException | Cannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information). |