Skip to content

DataBlock.TryGetStandardFileHeader Method

Definition

Attempts to interpret this block's data stream as a standard ZX Spectrum ROM file header.

public bool TryGetStandardFileHeader(out StandardFileHeader? header);

View source

Parameters

Name Type Description
header StandardFileHeader The extracted header, or null if the data is not a valid standard file header.

Returns

Boolean

true if the data was a valid standard file header; false otherwise.