HeaderBlock Class
Definition
A header block in a TAP file describing the following data block.
c#
public sealed class HeaderBlock : TapBlock<HeaderHeader>Properties
| Name | Description |
|---|---|
DataBlockLength | Gets the length of the associated data block in bytes. |
Filename | Gets the filename stored in the header. |
HeaderType | Gets the type of the header. |
Location | Gets the memory location to load the data to. |
Parameter1 | Gets the first parameter whose meaning depends on HeaderType. |
Parameter2 | Gets the second parameter whose meaning depends on HeaderType. |
Methods
| Name | Description |
|---|---|
CreateCode(String, UInt16, UInt16) | Creates a new HeaderBlock for a code block. |
CreateProgram(String, UInt16, UInt16?, UInt16?) | Creates a new HeaderBlock for a BASIC program block. |
ToString() | Returns a string that represents the current object. |
TryGetStandardFileHeader(StandardFileHeader) | Extracts the data from this block as a StandardFileHeader. |