Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does Convert.ToBase64String not insert line breaks every 76 chars?

Status
Not open for further replies.

wolfie78uk

Programmer
Jul 3, 2002
35
GB
Hi,

Does anybody know why the method "Convert.ToBase64String" does not insert <CRLF> every 76 characters as per RFC2045.

Obviously, this is extremely easy to overcome. I was just curious and wondered if there was some property I could set that would make this happen. I'm pretty new to C#, coming from Java, and (to be fair) the J2EE attempt at a Base64 encoding method is pretty poor.

Thanks,

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top