1 write to _decoder
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
313
_decoder
= _encoding.GetDecoder();
12 references to _decoder
System.IO.Ports (12)
System\IO\Ports\SerialPort.cs (12)
698
_decoder
.Reset();
724
if (
_decoder
.GetCharCount(_inBuffer, _readPos, CachedBytesToRead) != 0)
731
} while (
_decoder
.GetCharCount(_inBuffer, beginReadPos, _readPos - beginReadPos) < 1);
735
_decoder
.GetChars(_inBuffer, beginReadPos, _readPos - beginReadPos, _oneChar, 0);
786
} while (
_decoder
.GetCharCount(_inBuffer, _readPos, _readLen - _readPos) < 1);
791
_decoder
.GetChars(_inBuffer, _readPos, _readLen - _readPos, _oneChar, 0);
833
int charsWeAlreadyHave =
_decoder
.GetCharCount(_inBuffer, _readPos, CachedBytesToRead); // full chars already in our buffer
901
_decoder
.GetChars(_inBuffer, _readPos, bytesToRead, buffer, offset);
935
currentCharsFound =
_decoder
.GetCharCount(_inBuffer, lastFullCharPos, currentBytesToExamine);
959
} while (
_decoder
.GetCharCount(_inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound);
965
_decoder
.GetChars(_inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound);
986
_decoder
.Reset();