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