-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Vaishali
Message 3 in Discussion






Hi,


Thanks for your reply,


I tried your solution, it works but takes
too much time as for reading 100KB file it takes 5 minutes so if the file size is
in MBs it would take long time. Is there any other workaround because for my
project the file size is in MBs only.


 


Regards,


Vaishali


 


-----Original Message-----

From: Absent_Minded_Aquarian
[mailto:[EMAIL PROTECTED] 

Sent: Wednesday, July 09, 2003
2:30 AM

To: BDOTNET

Subject: Re: Hexadecimal string
reading from text file


 





 
  
  

  
  
  
New Message
  on BDOTNET
  
 
 
  
  

  
 





 


Hexadecimal string
reading from text file


 
  
  
Reply

  
  
  
  
   
    
    
 
    
    
    
Reply to Sender   Recommend
    
    
    
    
Message 2 in
    Discussion 
    
   
  
  

  
 
 
  
  
   
    
    
From: Absent_Minded_Aquarian 
    
   
   
    
    
 
    
    
Hi!
    
    
    
 
    
    
    
Are you sure that the data is represented in the
    hexadecimal format, like this:
    
    
    
 
    
    
    
This is 256 in hexadecimal: 0x100
    
    
    
 
    
    
    
Is this is how its been represented? If so, then you
    will have to read the text and manually parse it,  or use regular
    expressions to do the same.
    
    
    
 
    
    
    
However, if the file isnt purely a text file, then open
    it using File.Open and with the returned FileStream, read the contents in a
    byte array.
    
    
    
 
    
    
    
Gaurav
    
    
   
  
  

  
 





View other groups in this
category. 











-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to