ZXSpectrumTapeFormat<TFile> Class
Definition
strongly typed base class for ZX Spectrum tape file formats.
c#
public abstract class ZXSpectrumTapeFormat<TFile> : ZXSpectrumTapeFormat
where TFile : ZXSpectrumTapeFileType Parameters
| Name | Description |
|---|---|
TFile | The type of tape file this format reads and writes. |
Constructors
| Name | Description |
|---|---|
ZXSpectrumTapeFormat(String, String) | strongly typed base class for ZX Spectrum tape file formats. |
Methods
| Name | Description |
|---|---|
Read(Byte[]) | Reads a tape file from a byte array. |
Read(Stream) | Reads a tape file from a stream. |
ReadAsync(Stream, CancellationToken) | Reads a tape file from a stream asynchronously. |
WriteAsync(IOFile, IBinaryWriter) | Writes a file to a IBinaryWriter asynchronously. |
WriteAsync(TFile, IBinaryWriter) | Writes a strongly typed tape file to a IBinaryWriter. |