ZipItem.ExtractToArray Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)
ExtractToArray()
Extracts the current file item into a byte array.
Declaration
public override byte[] ExtractToArray()
Returns
Type | Description |
---|---|
Byte[] | A byte array that contains extracted data. |
Overrides
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The item is not a file. -or- The item is already deleted. |
ObjectDisposedException | Archive was already disposed. |
ZipException | Cannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information). |