Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3326204
By: nobody
Observation
The data run seems ok because sum(clusterscount)
= nonres.EndingVCN - nonres.StartingLCN + 1
given the following data run:
42 80 3C A0 01 86 FE
this is decoded as
4 bytes for offset
2 bytes for clusters count
so
ClustersCount = 0x3C80
ClusterOffset = 0xFE8601A0
How do I compute the new offset
because after performing
(char*)&ClusterOffset[4 - 1] &= 0x7F ;//0x7F = 0111 1111 clearing the bit sign
the offset still overflows boundaries of the partition
Is there any standard algorithm for clearing / transforming ClusterOffset's
high bits in case that the sign bit is setted ?
Thanks in advance
Ugluk
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=44084
|