[Mono-devel-list] Re: CodeDom in Compiler.cs
atsushi at ximian.com
Tue Apr 5 17:39:41 EDT 2005
With all the hints David left, I actually wrote a simple case
that Convert.FromBase64String() does not reject incorrect value
while it should.
Andrew Skiba wrote:
> 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list