* UTF8Encoding.cs (GetBytes string): Do not call base
The version in Encoding will call string.ToCharArray (),
allocating an extra array. By calling the better method
in our own class we can save memory.
svn path=/trunk/mcs/; revision=20846
* Encoding.cs: Use an internal variable to track the parameters of
each encoder, since the .NET API does not expose virtual methods
in the child classes, we should not depend on that.
* ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
Initialize the parameters for base class encoding here.
svn path=/trunk/mcs/; revision=19843
* UnicodeEncoding.cs: the bytemark should only be used to return
information in GetPreamble, not to actually encode the information
on the stream. That is taken care of by the Stream classes.
* UTF8Encoding.cs: ditto.
svn path=/trunk/mcs/; revision=9068
* Console.cs: Specify an encoder, otherwise we will get the UTF8
encoder that by default emits the byte markers.
2002-09-06 Miguel de Icaza <[email protected]>
* StreamReader.cs: Implement detection of byte marks and skipping
of byte marks at the beginning of the stream.
(ReadToEnd): Use buffered read instead of char-by-char
processing.
Correct the default arguments for creating the StreamReader.
2002-09-06 Miguel de Icaza <[email protected]>
* Encoding.cs (UTF8, Unicode): Create with a preamble, that is
what the Microsoft version does.
(UnixConsoleEncoding): New internal method, used to get the
encoding, in the future, this should pull the locale, map to
charset and then code page.
svn path=/trunk/mcs/; revision=7295
2001-10-07 Miguel de Icaza <[email protected]>
* Exception.cs: Implement bits of serialization.
* RuntimeFieldHandle.cs: Implement Serialization features.
* Type.cs: Implement TypeHandle property.
2001-10-07 Miguel de Icaza <[email protected]>
* AssemblyBuilder.cs: Reformatted.
Added override keywords to those that needed them.
Removed methods that we do not override, but just inherit
2001-10-07 Miguel de Icaza <[email protected]>
* Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
UnicodeEncoding.cs: Corrected API.
* UTF8Encoding.cs: Checked in changes from Rafael.
svn path=/trunk/mcs/; revision=1113
possible.
* ASCIIEncoding.cs: Members added so that a clean compile is
possible.
* UTF7Encoding.cs: Members added so that a clean compile is
possible.
* UTF8Encoding.cs: Members added so that a clean compile is
possible.
* Encoding.cs: All public members included. Most members
unimplemented.
svn path=/trunk/mcs/; revision=35