3 overrides of GetBytes
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (1)
76
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1188
public override int
GetBytes
(char[] chars, int charIndex, int charCount,
System.Text.Encoding.CodePages (1)
System\Text\EncoderNLS.cs (1)
108
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
11 references to GetBytes
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (1)
723
_byteCount = _enc.
GetBytes
(_chars, 0, charCount, _bytes, 0, false);
Microsoft.AspNetCore.WebUtilities (2)
HttpResponseStreamWriter.cs (2)
573
var count = _encoder.
GetBytes
(
598
var count = _encoder.
GetBytes
(
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (3)
77
GetBytes
(charTemp, 0, 0, byteTemp, 0, true);
174
int result =
GetBytes
(arrChar, 0, charCount, arrByte, 0, flush);
245
bytesUsed =
GetBytes
(chars, charIndex, charsUsed, bytes, byteIndex, flush);
src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (3)
265
byteCount = _innerEncoder.
GetBytes
(chars, 0, charCount, bytes, 0, flush: true);
335
pendingReadDataPopulatedJustNow = _thisEncoder.
GetBytes
(rentedChars, 0, charsDecodedJustNow, _readBuffer, 0, flush: isEofReached);
414
pendingReadDataPopulatedJustNow = _thisEncoder.
GetBytes
(rentedChars, 0, charsDecodedJustNow, _readBuffer, 0, flush: isEofReached);
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
268
_byteCount = _enc!.
GetBytes
(_chars, 0, charCount, _bytes, 0, false);
System\Xml\EncodingStreamWrapper.cs (1)
702
_byteCount = _enc!.
GetBytes
(_chars, 0, charCount, _bytes, 0, false);