pub fn offset(&self, cluster: u32) -> usize {
        (((self.reserved_sector as u32)
            + (self.num_fat as u32) * self.sector_per_fat
            + (cluster - 2) * (self.sector_per_cluster as u32))
            * (self.byte_per_sector as u32)) as usize
    }
// Get the first sector offset bytes of the cluster from the cluster number
Get the first sector offset bytes of the cluster from the cluster number
Get the first sector offset bytes of the cluster from the cluster number
pub fn offset(&self, cluster: u32) -> usize {
        (((self.reserved_sector as u32)
            + (self.num_fat as u32) * self.sector_per_fat
            + (cluster - 2) * (self.sector_per_cluster as u32))
            * (self.byte_per_sector as u32)) as usize
    }
pub fn offset ( & self , cluster : u32 ) -> usize { ( ( ( self . reserved_sector as u32 ) + ( self . num_fat as u32 ) * self . sector_per_fat + ( cluster - 2 ) * ( self . sector_per_cluster as u32 ) ) * ( self . byte_per_sector as u32 ) ) as usize }
Get the first sector offset bytes of the cluster from the cluster number
Get the first sector offset bytes of the cluster from the cluster number
&self
cluster
u32