<PackageReference Include="System.Text.Encoding.CodePages" Version="5.0.0-preview.7.20364.11" />
EncoderNLS
public void Convert(
Char* chars,
int charCount,
Byte* bytes,
int byteCount,
bool flush,
out int charsUsed,
out int bytesUsed,
out bool completed)