Class
TransformationHeader

Holds leading transformation metadata written before transformed data (e.g. IVs, salt, or algorithm identifiers) for compression or encryption stages.

Definition

Namespace:Telerik.Windows.Zip

Assembly:Telerik.Windows.Zip.dll

Syntax:

cs-api-definition
public class TransformationHeader

Inheritance: objectTransformationHeader

Properties

Buffer

Buffer that stores header bytes read from or to be written to the stream.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public byte[] Buffer { get; set; }

Property Value

byte[]

BytesToRead

Number of header bytes remaining to read from the underlying stream.

Declaration

cs-api-definition
public int BytesToRead { get; set; }

Property Value

int

CountHeaderInCompressedSize

Flag indicating whether the header length should be included in the stored compressed size for the entry.

Declaration

cs-api-definition
public bool CountHeaderInCompressedSize { get; set; }

Property Value

bool

InitData

Initialization data extracted from or required to construct the transformation header (e.g. salt, nonce, flags).

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public byte[] InitData { get; set; }

Property Value

byte[]

Length

Total length in bytes of the header segment contributing to archive size calculations.

Declaration

cs-api-definition
public int Length { get; }

Property Value

int