[Mono-devel-list] Re: CodeDom in Compiler.cs

Andrew Skiba andrews at mainsoft.com
Tue Apr 5 12:15:21 EDT 2005


Atsushi Eno wrote:
> I am not David so I'm not 100% sure (you could ask him directly).
> But I can guess from his comment - he wrote that the input string
> must be ASCII. And once it is transformed into byte[] by
> ASCIIEncoding .GetBytes(), it could be more efficient to use
> TransformBlock() that expects byte[].

Yes, but initially what we have is string. So why transform string to 
byte[] if you can do all job in Convert.FromBase64String in one pass?

Andrew Skiba.



More information about the Mono-devel-list mailing list