1 write to _encoding
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
312
_encoding
= value;
8 references to _encoding
System.IO.Ports (8)
System\IO\Ports\SerialPort.cs (8)
297
return
_encoding
;
313
_decoder =
_encoding
.GetDecoder();
316
_maxByteCountForSingleChar =
_encoding
.GetMaxByteCount(1);
895
DecoderReplacementFallback fallback =
_encoding
.DecoderFallback as DecoderReplacementFallback;
896
if (
_encoding
.IsSingleByte &&
_encoding
.GetMaxCharCount(bytesToRead) == bytesToRead &&
1143
byte[] readBuffer =
_encoding
.GetBytes(currentLine.ToString());
1183
bytesToWrite =
_encoding
.GetBytes(text);