9 references to GetBytes
mscorlib (3)
system\io\binarywriter.cs (2)
215
byte[] bytes = _encoding.
GetBytes
(chars, 0, chars.Length);
226
byte[] bytes = _encoding.
GetBytes
(chars, index, count);
system\text\encoding.cs (1)
1031
return
GetBytes
(chars, 0, chars.Length);
System (3)
net\System\Net\mail\BufferBuilder.cs (1)
72
byte[] bytes = Encoding.UTF8.
GetBytes
(value.ToCharArray(), offset, count);
net\System\UriHelper.cs (1)
516
byte[] encodedBytes = Encoding.UTF8.
GetBytes
(unescapedChars, j, isHighSurr ? 2 : 1);
sys\system\io\ports\SerialPort.cs (1)
1366
byte [] byteArray = Encoding.
GetBytes
(buffer,offset, count);
System.Data (1)
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
6709
byteData = encoding.
GetBytes
(charData, 0, numChars);
System.IdentityModel (1)
System\IdentityModel\CanonicalFormWriter.cs (1)
91
byte[] buffer = CanonicalFormWriter.Utf8WithoutPreamble.
GetBytes
(chars, 0, count);
System.Web (1)
Hosting\ISAPIWorkerRequest.cs (1)
178
_byteBuffer = encoding.
GetBytes
(_charBuffer, 0, _freePos);