9 overrides of GetBytes
mscorlib (6)
system\text\asciiencoding.cs (1)
178
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\encodingnls.cs (1)
159
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\unicodeencoding.cs (1)
215
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\utf32encoding.cs (1)
218
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\utf7encoding.cs (1)
285
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\utf8encoding.cs (1)
247
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
System.Runtime.Serialization (2)
System\Text\Base64Encoding.cs (1)
116
unsafe public override int
GetBytes
(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
System\Text\BinHexEncoding.cs (1)
64
unsafe public override int
GetBytes
(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
System.Xml (1)
System\Xml\XmlEncoding.cs (1)
203
public override int
GetBytes
( char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex ) {
15 references to GetBytes
mscorlib (4)
system\text\encoding.cs (4)
1041
GetBytes
(chars, index, count, result, 0);
1081
return
GetBytes
(s.ToCharArray(), charIndex, charCount, bytes, byteIndex);
1137
int result =
GetBytes
(arrChar, 0, charCount, arrByte, 0);
1760
return m_encoding.
GetBytes
(chars, charIndex, charCount, bytes, byteIndex);
PresentationFramework (1)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
4026
int cb = e.
GetBytes
(new char[] { c }, 0, 1, rgAnsi, 0);
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6685
encoding.
GetBytes
(charData, 0, charData.Length, byteData, 0);
6704
int bytesWritten = encoding.
GetBytes
(charData, 0, charData.Length, stateObj._outBuff, stateObj._outBytesUsed);
System.Messaging (1)
System\Messaging\Message.cs (1)
2424
Encoding.Unicode.
GetBytes
(value.ToCharArray(), 0, value.Length, byteBuffer, 0);
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
228
byteCount = Encoding.UTF8.
GetBytes
(chars, 0, charCount, bytes, 0);
System\Xml\EncodingStreamWrapper.cs (1)
639
byteCount = Encoding.UTF8.
GetBytes
(chars, 0, charCount, bytes, 0);
System\Xml\XmlBaseReader.cs (2)
1600
trailByteCount = encoding.
GetBytes
(chars, 0, charCount, trailBytes, 0);
1610
return encoding.
GetBytes
(chars, 0, charCount, buffer, offset);
System.ServiceModel (2)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (2)
251
System.Text.Encoding.Unicode.
GetBytes
(((string)obj).ToCharArray(), 0, size / 2, buffer, 0);
278
System.Text.Encoding.Unicode.
GetBytes
(chars, 0, size / 2, buffer, 0);
System.Web (1)
Hosting\ISAPIWorkerRequest.cs (1)
175
encoding.
GetBytes
(_charBuffer, 0, _freePos, _byteBuffer, 0);