Skip to content

ZXSpectrumTapeFormat<TFile> Class

Definition

strongly typed base class for ZX Spectrum tape file formats.

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

View source

Type 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)
WriteAsync(TFile, IBinaryWriter) Writes a strongly typed tape file to a IBinaryWriter.