6 overrides of GetBytes
mscorlib (6)
system\text\asciiencoding.cs (1)
224
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
system\text\encodingnls.cs (1)
202
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
system\text\unicodeencoding.cs (1)
261
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
system\text\utf32encoding.cs (1)
263
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
system\text\utf7encoding.cs (1)
331
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
system\text\utf8encoding.cs (1)
293
public override unsafe int
GetBytes
(char* chars, int charCount, byte* bytes, int byteCount)
7 references to GetBytes
mscorlib (4)
system\rttype.cs (1)
420
Encoding.UTF8.
GetBytes
(pName, cNameLen, pUtf8Name, cUtf8Name);
system\string.cs (1)
1434
return encoding.
GetBytes
(pwzChar, m_stringLength, pbNativeBuffer, cbNativeBuffer);
system\text\encoding.cs (2)
1090
return
GetBytes
(chars, charCount, bytes, byteCount);
1768
return m_encoding.
GetBytes
(chars, charCount, bytes, byteCount);
System (2)
net\System\IriHelper.cs (1)
355
int encodedBytesCount = Encoding.UTF8.
GetBytes
(pInput + next, surrogatePair ? 2 : 1, pEncodedBytes, maxNumberOfBytesEncoded);
net\System\UriHelper.cs (1)
165
short numberOfBytes = (short)Encoding.UTF8.
GetBytes
(pStr+i, count, bytes,
System.Runtime.Serialization (1)
System\Xml\XmlStreamNodeWriter.cs (1)
679
bytes += encoding.
GetBytes
(charsStart, (int)(chars - charsStart), bytes, (int)(bytesMax - bytes));