IOFileFormat.Read Method
Overloads
| Name | Description |
|---|---|
| Read(Byte[]) | Reads a file from a byte array. |
| Read(Stream) | Reads a file from a stream. |
Read(Byte[])
Reads a file from a byte array.
public IOFile Read(Byte[] bytes);
Parameters
| Name | Type | Description |
|---|---|---|
| bytes | Byte[] | The byte array to read from. |
Returns
The file that was read.
Read(Stream)
Reads a file from a stream.
public abstract IOFile Read(Stream stream);
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | The stream to read from. |
Returns
The file that was read.