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();
687
if (
_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);
796
int charsWeAlreadyHave =
_decoder
.GetCharCount(_inBuffer, _readPos, CachedBytesToRead); // full chars already in our buffer
864
_decoder
.GetChars(_inBuffer, _readPos, bytesToRead, buffer, offset);
898
currentCharsFound =
_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();