1 write to _decoder
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
314
_decoder
= _encoding.GetDecoder();
12 references to _decoder
System.IO.Ports (12)
System\IO\Ports\SerialPort.cs (12)
700
_decoder
.Reset();
726
if (
_decoder
.GetCharCount(_inBuffer, _readPos, CachedBytesToRead) != 0)
733
} while (
_decoder
.GetCharCount(_inBuffer, beginReadPos, _readPos - beginReadPos) < 1);
737
_decoder
.GetChars(_inBuffer, beginReadPos, _readPos - beginReadPos, _oneChar, 0);
788
} while (
_decoder
.GetCharCount(_inBuffer, _readPos, _readLen - _readPos) < 1);
793
_decoder
.GetChars(_inBuffer, _readPos, _readLen - _readPos, _oneChar, 0);
835
int charsWeAlreadyHave =
_decoder
.GetCharCount(_inBuffer, _readPos, CachedBytesToRead); // full chars already in our buffer
903
_decoder
.GetChars(_inBuffer, _readPos, bytesToRead, buffer, offset);
937
currentCharsFound =
_decoder
.GetCharCount(_inBuffer, lastFullCharPos, currentBytesToExamine);
961
} while (
_decoder
.GetCharCount(_inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound);
967
_decoder
.GetChars(_inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound);
988
_decoder
.Reset();