code: def _AlignDecryptedDataOffset(self, decrypted_data_offset):
      
      self._file_object.seek(0, os.SEEK_SET)
  
      self._decrypter = self._GetDecrypter()
      self._decrypted_data = b''
  
      encrypted_data_offset = 0
      encrypted_data_size = self._file_object.get_size()
  
      while encrypted_data_offset < encrypted_data_size:
        read_count = self._ReadEncryptedData(self._ENCRYPTED_DATA_BUFFER_SIZE)
        if read_count == 0:
          break
  
        encrypted_data_offset += read_count
  
        if decrypted_data_offset < self._decrypted_data_size:
          self._decrypted_data_offset = decrypted_data_offset
          break
  
        decrypted_data_offset -= self._decrypted_data_size
docs: Aligns the encrypted file with the decrypted data offset.
  
      Args:
        decrypted_data_offset (int): decrypted data offset.