1 write to decoder
System (1)
sys\system\io\ports\SerialPort.cs (1)
310
decoder
= encoding.GetDecoder();
12 references to decoder
System (12)
sys\system\io\ports\SerialPort.cs (12)
892
decoder
.Reset();
918
if (
decoder
.GetCharCount(inBuffer, readPos, CachedBytesToRead) != 0)
925
} while (
decoder
.GetCharCount(inBuffer, beginReadPos, readPos - beginReadPos) < 1);
928
decoder
.GetChars(inBuffer, beginReadPos, readPos - beginReadPos, oneChar, 0);
976
} while (
decoder
.GetCharCount(inBuffer, readPos, readLen - readPos) < 1);
981
decoder
.GetChars(inBuffer, readPos, readLen - readPos, oneChar, 0);
1023
int charsWeAlreadyHave =
decoder
.GetCharCount(inBuffer, readPos, CachedBytesToRead); // full chars already in our buffer
1089
decoder
.GetChars(inBuffer, readPos, bytesToRead, buffer, offset);
1122
currentCharsFound =
decoder
.GetCharCount(inBuffer, lastFullCharPos, currentBytesToExamine);
1146
} while (
decoder
.GetCharCount(inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound);
1152
decoder
.GetChars(inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound);
1173
decoder
.Reset();