6 references to Encoding
System.IO.Ports (6)
System\IO\Ports\SerialPort.cs (6)
303throw new ArgumentNullException(nameof(Encoding)); 310throw new ArgumentException(SR.Format(SR.NotSupportedEncoding, value.WebName), nameof(Encoding)); 867int maxReadSize = Encoding.GetMaxByteCount(count); 1027Decoder localDecoder = Encoding.GetDecoder(); 1050return Encoding.GetString(bytesReceived, 0, lastFullCharIndex + 1); 1205byte[] byteArray = Encoding.GetBytes(buffer, offset, count);