Skip to content

DataBlock Class

Definition

A PZX block containing tape data.

public sealed class DataBlock : PzxBlock<DataHeader>

View source

Constructors

Name Description
DataBlock(Stream) Initialises a new instance of the DataBlock class from a stream.

Properties

Name Description
DataStream Gets the raw data stream.
DataStreamSize Gets the size of the data stream in bytes.
OneBitPulseSequence Gets the pulse sequence for a one bit.
ZeroBitPulseSequence Gets the pulse sequence for a zero bit.

Methods

Name Description
ToString() Returns a string that represents the current object.
TryGetStandardFileHeader(StandardFileHeader) Attempts to interpret this block's data stream as a standard ZX Spectrum ROM file header.