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