3 overrides of GetBytes
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (1)
76public override unsafe int GetBytes(char[] chars, int charIndex, int charCount,
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1188public override int GetBytes(char[] chars, int charIndex, int charCount,
System.Text.Encoding.CodePages (1)
System\Text\EncoderNLS.cs (1)
108public 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)
573var count = _encoder.GetBytes( 598var count = _encoder.GetBytes(
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (3)
77GetBytes(charTemp, 0, 0, byteTemp, 0, true); 174int result = GetBytes(arrChar, 0, charCount, arrByte, 0, flush); 245bytesUsed = GetBytes(chars, charIndex, charsUsed, bytes, byteIndex, flush);
src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (3)
265byteCount = _innerEncoder.GetBytes(chars, 0, charCount, bytes, 0, flush: true); 335pendingReadDataPopulatedJustNow = _thisEncoder.GetBytes(rentedChars, 0, charsDecodedJustNow, _readBuffer, 0, flush: isEofReached); 414pendingReadDataPopulatedJustNow = _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);