Skip to content

IOFileFormat.Read Method ​

Overloads ​

NameDescription
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.

c#
public IOFile Read(Byte[] bytes);

View source

Parameters ​

NameTypeDescription
bytesByte[]The byte array to read from.

Returns ​

IOFile

The file that was read.

Read(Stream) ​

Reads a file from a stream.

c#
public IOFile Read(Stream stream);

View source

Parameters ​

NameTypeDescription
streamStreamThe stream to read from.

Returns ​

IOFile

The file that was read.