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

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