System.Text.Encoder
namespace System.Text
{
public abstract class Encoder
{
public EncoderFallback Fallback { get; set; }
public EncoderFallbackBuffer FallbackBuffer { get; }
protected Encoder();
public unsafe virtual void Convert(char* chars, int charCount, byte* bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed);
public virtual void Convert(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed);
public unsafe virtual int GetByteCount(char* chars, int count, bool flush);
public abstract int GetByteCount(char[] chars, int index, int count, bool flush);
public unsafe virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush);
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush);
public virtual void Reset();
}
}