1 write to _encoding
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
313
_encoding
= value;
8 references to _encoding
System.IO.Ports (8)
System\IO\Ports\SerialPort.cs (8)
298
return
_encoding
;
314
_decoder =
_encoding
.GetDecoder();
317
_maxByteCountForSingleChar =
_encoding
.GetMaxByteCount(1);
897
DecoderReplacementFallback? fallback =
_encoding
.DecoderFallback as DecoderReplacementFallback;
898
if (
_encoding
.IsSingleByte &&
_encoding
.GetMaxCharCount(bytesToRead) == bytesToRead &&
1145
byte[] readBuffer =
_encoding
.GetBytes(currentLine.ToString());
1183
bytesToWrite =
_encoding
.GetBytes(text);