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)
297return _encoding; 313_decoder = _encoding.GetDecoder(); 316_maxByteCountForSingleChar = _encoding.GetMaxByteCount(1); 895DecoderReplacementFallback fallback = _encoding.DecoderFallback as DecoderReplacementFallback; 896if (_encoding.IsSingleByte && _encoding.GetMaxCharCount(bytesToRead) == bytesToRead && 1143byte[] readBuffer = _encoding.GetBytes(currentLine.ToString()); 1183bytesToWrite = _encoding.GetBytes(text);