Files
BinaryObjectScanner/BurnOutSharp.Models/Compression/MSZIP/DeflateBlockHeader.cs
2022-12-28 09:47:25 -08:00

23 lines
707 B
C#

namespace BurnOutSharp.Models.Compression.MSZIP
{
/// <see href="https://www.rfc-editor.org/rfc/rfc1951"/>
public class DeflateBlockHeader
{
/// <summary>
/// Set if and only if this is the last block of the data set.
/// </summary>
/// <remarks>Bit 0</remarks>
public bool BFINAL { get; set; }
/// <summary>
/// Specifies how the data are compressed
/// </summary>
/// <remarks>Bits 1-2</remarks>
public CompressionType BTYPE { get; set; }
/// <summary>
/// Block data as defined by the compression type
/// </summary>
public IBlockDataHeader BlockDataHeader { get; set; }
}
}