Skip to content

ZXSpectrumTapeFormat<TFile> Class ​

Definition ​

strongly typed base class for ZX Spectrum tape file formats.

c#
public abstract class ZXSpectrumTapeFormat<TFile> : ZXSpectrumTapeFormat
   where TFile : ZXSpectrumTapeFile

View source

Type Parameters ​

NameDescription
TFileThe type of tape file this format reads and writes.

Constructors ​

NameDescription
ZXSpectrumTapeFormat(String, String)strongly typed base class for ZX Spectrum tape file formats.

Methods ​

NameDescription
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.