RSS Forums RSS
Please support our C# advertiser: Programming Forums
Views: 1781 | Replies: 1
Reply
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

XmlTextReader.ReadBase64

  #1  
Apr 26th, 2006
Does anyone have a good example of how to use this method? All of the MSDN examples I could find are useless because:
  1. they show a hard-coded size for the byte array
  2. they show writing the output to the Console
Ridiculous. I have a file that contains some binary image data (PCL format) that is base64 encoded. I simply need to read that, decode it back to raw binary, and write it out to a file.

All my attempts run, but do not produce usable output.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2005
Posts: 46
Reputation: _r0ckbaer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 7
_r0ckbaer's Avatar
_r0ckbaer _r0ckbaer is offline Offline
Light Poster

Re: XmlTextReader.ReadBase64

  #2  
Apr 27th, 2006
What about having a look at Convert.ToBase64String and Convert.FromBase64String ?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:49 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC