ZXSpectrumTapeFormat.ReadAsync Method
Definition
Reads a ZX Spectrum tape file from a stream asynchronously.
c#
public new Task<ZXSpectrumTapeFile> ReadAsync(Stream stream, CancellationToken cancellationToken = null);Parameters
| Name | Type | Description |
|---|---|---|
stream | Stream | The stream to read from. |
cancellationToken | CancellationToken | An optional CancellationToken to cancel the reading. |
Returns
The tape file read from the stream.