Overloads
Initialises a new instance of the PzxBlockHeader class with the specified type and size.
protected PzxBlockHeader(PzxBlockType type, int sizeIncludingSizeField);
View source
| Name |
Type |
Description |
| type |
PzxBlockType |
The block type. |
| sizeIncludingSizeField |
Int32 |
The size of the header including the size field. |
Initialises a new instance of the PzxBlockHeader class from a stream.
protected PzxBlockHeader(PzxBlockType type, int sizeIncludingSizeField, Stream stream);
View source
| Name |
Type |
Description |
| type |
PzxBlockType |
The block type. |
| sizeIncludingSizeField |
Int32 |
The size of the header including the size field. |
| stream |
Stream |
The stream to read from. |