PzxBlockHeader Class
Definition
Base class for headers of blocks in a PZX file.
public abstract class PzxBlockHeader : Header
Constructors
| Name | Description |
|---|---|
| PzxBlockHeader(PzxBlockType, Int32) | Initialises a new instance of the PzxBlockHeader class with the specified type and size. |
| PzxBlockHeader(PzxBlockType, Int32, Stream) | Initialises a new instance of the PzxBlockHeader class from a stream. |
Fields
| Name | Description |
|---|---|
| StartIndex | The start index of the block-specific data within the header, after the size field. |
Properties
| Name | Description |
|---|---|
| BlockLength | Gets the length of the block's body data. |
| SizeOfBlockExcludingTagAndSizeField | Gets the size of the block excluding the tag and size field. |
| SizeOfHeaderExcludingTagAndSizeField | Gets the size of the header excluding the tag and size field. |
| Type | Gets the type of this PZX block. |
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |