Skip to content

PzxBlockHeader Constructors

Overloads

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.

PzxBlockHeader(PzxBlockType, Int32)

Initialises a new instance of the PzxBlockHeader class with the specified type and size.

protected PzxBlockHeader(PzxBlockType type, int sizeIncludingSizeField);

View source

Parameters

Name Type Description
type PzxBlockType The block type.
sizeIncludingSizeField Int32 The size of the header including the size field.

PzxBlockHeader(PzxBlockType, Int32, Stream)

Initialises a new instance of the PzxBlockHeader class from a stream.

protected PzxBlockHeader(PzxBlockType type, int sizeIncludingSizeField, Stream stream);

View source

Parameters

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.