2023-03-07 16:59:14 -05:00
|
|
|
namespace BinaryObjectScanner.Models.Compression.MSZIP
|
2022-12-15 23:51:12 -08:00
|
|
|
{
|
|
|
|
|
/// <see href="https://www.rfc-editor.org/rfc/rfc1951"/>
|
2022-12-16 22:41:36 -08:00
|
|
|
public class DeflateBlockHeader
|
2022-12-15 23:51:12 -08:00
|
|
|
{
|
|
|
|
|
/// <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>
|
2022-12-28 09:47:25 -08:00
|
|
|
public CompressionType BTYPE { get; set; }
|
2022-12-15 23:51:12 -08:00
|
|
|
}
|
|
|
|
|
}
|