I am trying to find the compressed file size of a Bzip2 file in winhex but don't know how to do it, can anyone know how to find these things by looking at hex editor
i have tried checking the file of header i.e 42 5A 68 but still don't know what to do next?
When you check the headers of
bzip2you will see first you have 4 bytes as headerthen you have in
BCDcodedPinumber (6 bytes):then CRC (4 bytes)
etc...
then it start Huffman encoded data stream (which by my understanding is the compressed data)
and at the end you have
SQRT(Pi)inBCD(6 bytes)CRC (4 bytes)
and 0 to 7 bits padding (to whole byte)