IOFileFormat<TFile> Class
Definition
Base class for file formats with a strongly typed file type.
public abstract class IOFileFormat<TFile> : IOFileFormat
where TFile : IOFile
Type Parameters
| Name | Description |
|---|---|
TFile |
The type of file for this format. |
Constructors
| Name | Description |
|---|---|
IOFileFormat(String, String) |
Base class for file formats with a strongly typed file type. |
Methods
| Name | Description |
|---|---|
Read(Byte[]) |
Reads a strongly typed file from a byte array. |
Read(Stream) |
Reads a strongly typed file from a stream. |
ReadAsync(Stream, CancellationToken) |
Reads a strongly typed file from a stream asynchronously. |
WriteAsync(IOFile, IBinaryWriter) |
Writes a file to a IBinaryWriter asynchronously. |
WriteAsync(TFile, IBinaryWriter) |
Writes a strongly typed file to a stream. |