<PackageReference Include="System.Text.Encoding" Version="4.0.10-beta-22816" />

Encoding

public abstract class Encoding
public static Encoding ASCII { get; }

public static Encoding BigEndianUnicode { get; }

public static Encoding Unicode { get; }

public static Encoding UTF32 { get; }

public static Encoding UTF7 { get; }

public static Encoding UTF8 { get; }

public virtual int CodePage { get; }

public virtual string EncodingName { get; }

public virtual bool IsSingleByte { get; }

public virtual string WebName { get; }

protected Encoding()

protected Encoding(int codePage)

protected Encoding(int codePage, EncoderFallback encoderFallback, DecoderFallback decoderFallback)

public static byte[] Convert(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes)

public static byte[] Convert(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes, int index, int count)

public static Encoding GetEncoding(int codepage)

public static Encoding GetEncoding(int codepage, EncoderFallback encoderFallback, DecoderFallback decoderFallback)

public static Encoding GetEncoding(string name)

public static Encoding GetEncoding(string name, EncoderFallback encoderFallback, DecoderFallback decoderFallback)

public static void RegisterProvider(EncodingProvider provider)

public virtual object Clone()

public virtual int GetByteCount(Char* chars, int count)

public virtual int GetByteCount(char[] chars)

public abstract int GetByteCount(char[] chars, int index, int count)

public virtual int GetByteCount(string s)

public virtual int GetBytes(Char* chars, int charCount, Byte* bytes, int byteCount)

public virtual byte[] GetBytes(char[] chars)

public virtual byte[] GetBytes(char[] chars, int index, int count)

public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)

public virtual byte[] GetBytes(string s)

public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)

public virtual int GetCharCount(Byte* bytes, int count)

public virtual int GetCharCount(byte[] bytes)

public abstract int GetCharCount(byte[] bytes, int index, int count)

public virtual int GetChars(Byte* bytes, int byteCount, Char* chars, int charCount)

public virtual char[] GetChars(byte[] bytes)

public virtual char[] GetChars(byte[] bytes, int index, int count)

public abstract int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)

public virtual Decoder GetDecoder()

public virtual Encoder GetEncoder()

public abstract int GetMaxByteCount(int charCount)

public abstract int GetMaxCharCount(int byteCount)

public virtual byte[] GetPreamble()

public string GetString(Byte* bytes, int byteCount)

public virtual string GetString(byte[] bytes)

public virtual string GetString(byte[] bytes, int index, int count)