ZXSpectrumSnapshotFormat<TFile> Class
Definition
Base class for ZX Spectrum snapshot file formats with a specific file type.
c#
public abstract class ZXSpectrumSnapshotFormat<TFile> : ZXSpectrumSnapshotFormat
where TFile : ZXSpectrumSnapshotFileType 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) | Writes a file to a IBinaryWriter asynchronously. |
WriteAsync(TFile, IBinaryWriter) | Writes a strongly typed snapshot file to a IBinaryWriter. |