Add raw union to ISH

This commit is contained in:
atxr 2024-02-20 12:33:06 +01:00
parent 84b33095b0
commit a69783a108

View file

@ -68,8 +68,15 @@ typedef struct EOCD
// Input stream header for DEFLATE // Input stream header for DEFLATE
typedef struct ISH typedef struct ISH
{ {
union
{
int raw;
struct
{
unsigned last_block : 1; unsigned last_block : 1;
unsigned block_type : 2; unsigned block_type : 2;
};
}
} ISH; } ISH;
// Dynamic Huffman Code header for DEFLATE // Dynamic Huffman Code header for DEFLATE