void setStartCluster ( long startCluster ) { if ( startCluster > Integer . MAX_VALUE ) throw new AssertionError ( ) ; if ( this . type == FatType . FAT32 ) { LittleEndian . setInt16 ( data , 0x1a , ( int ) ( startCluster & 0xffff ) ) ; LittleEndian . setInt16 ( data , 0x14 , ( int ) ( ( startCluster >> 16 ) & 0xffff ) ) ; } else { LittleEndian . setInt16 ( data , 0x1a , ( int ) startCluster ) ; } }
Sets the startCluster .