Skip to content

ZXSpectrumFileFormat.Load Method ​

Overloads ​

NameDescription
Load(String)Loads a ZX Spectrum file from disk.
Load(String, Stream)Loads a ZX Spectrum file from a stream.

Load(String) ​

Loads a ZX Spectrum file from disk.

c#
public static new ZXSpectrumFile Load(string path);

View source

Parameters ​

NameTypeDescription
pathStringThe path to the file to load.

Returns ​

ZXSpectrumFile

The file that was read.

Load(String, Stream) ​

Loads a ZX Spectrum file from a stream.

c#
public static new ZXSpectrumFile Load(string path, Stream stream);

View source

Parameters ​

NameTypeDescription
pathStringThe path of the file in the stream.
streamStreamThe file.

Returns ​

ZXSpectrumFile

The file that was read.