Type Summary

						public class UnicodeEncoding : Encoding
{
  // Constructors
     public UnicodeEncoding ();
     public UnicodeEncoding (bool bigEndian,
                             bool byteOrderMark);

  // Fields
  MS
						public const int CharSize = 2;

  // Methods
     public override bool Equals (object value);
     public override int GetByteCount (char[] chars,
                                      int index,
                                      int count);
     public override int GetByteCount (string s);
     public override int GetBytes (char[] chars,
                                  int charIndex,
                                  int charCount,
                                  byte[] bytes,
                                  int byteIndex);
  CF
						public override byte[] GetBytes (string s);
     public override int GetBytes (string chars,
                                  int charIndex,
                                  int charCount,
                                  byte[] bytes,
                                  int byteIndex);
     public override int GetCharCount (byte[] bytes,
                                      int index,
                                      int count);
     public override int GetChars (byte[] bytes,
                                  int byteIndex, ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.