//! Type aliases for various important data types for readability
//!
//! Some Index types have their corresponding Count type
//! (e.g. [`ClusterIndex`] and [`ClusterCount`]).
//! These are both under the hood aliased to the same data type.
//! The only reason to keep the separated is too make the code more readable:
//! for example, if a function returns a [`ClusterIndex`], we know that it
//! returns the index of a particular cluster, whereas if it were to return
//! [`ClusterCount`], it could return how many clusters are needed for
//! a particular action or belong to an object.
pub type ClusterIndex = u32;
pub type ClusterCount = ClusterIndex;
pub type SectorIndex = u32;
pub type SectorCount = SectorIndex;
pub type EntryIndex = u16;
pub type EntryCount = EntryIndex;
pub type FATEntryIndex = u32;
pub type FATEntryCount = FATEntryIndex;
pub type FATEntryValue = u32;
pub type FileSize = u32;