1 write to _decoder
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
282_decoder = _encoding.GetDecoder();
12 references to _decoder
System.IO.Ports (12)
System\IO\Ports\SerialPort.cs (12)
661_decoder.Reset(); 687if (_decoder.GetCharCount(_inBuffer, _readPos, CachedBytesToRead) != 0) 694} while (_decoder.GetCharCount(_inBuffer, beginReadPos, _readPos - beginReadPos) < 1); 698_decoder.GetChars(_inBuffer, beginReadPos, _readPos - beginReadPos, _oneChar, 0); 749} while (_decoder.GetCharCount(_inBuffer, _readPos, _readLen - _readPos) < 1); 754_decoder.GetChars(_inBuffer, _readPos, _readLen - _readPos, _oneChar, 0); 796int charsWeAlreadyHave = _decoder.GetCharCount(_inBuffer, _readPos, CachedBytesToRead); // full chars already in our buffer 864_decoder.GetChars(_inBuffer, _readPos, bytesToRead, buffer, offset); 898currentCharsFound = _decoder.GetCharCount(_inBuffer, lastFullCharPos, currentBytesToExamine); 922} while (_decoder.GetCharCount(_inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound); 928_decoder.GetChars(_inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound); 949_decoder.Reset();