6 references to Encoding
System.IO.Ports (6)
System\IO\Ports\SerialPort.cs (6)
271
throw new ArgumentNullException(nameof(
Encoding
));
278
throw new ArgumentException(SR.Format(SR.NotSupportedEncoding, value.WebName), nameof(
Encoding
));
828
int maxReadSize =
Encoding
.GetMaxByteCount(count);
988
Decoder localDecoder =
Encoding
.GetDecoder();
1011
return
Encoding
.GetString(bytesReceived, 0, lastFullCharIndex + 1);
1168
byte[] byteArray =
Encoding
.GetBytes(buffer, offset, count);