<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1-servicing-27114-05" />

EncoderNLS

protected bool m_mustFlush

public Encoding Encoding { get; }

public bool MustFlush { get; }

public void Convert(Char* chars, int charCount, Byte* bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)

public int GetByteCount(Char* chars, int count, bool flush)

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