2 overrides of GetBytes
mscorlib (2)
system\text\encodernls.cs (1)
132
public override unsafe int
GetBytes
(char[] chars, int charIndex, int charCount,
system\text\encoding.cs (1)
1757
public override int
GetBytes
(char[] chars, int charIndex, int charCount,
10 references to GetBytes
mscorlib (5)
system\io\streamwriter.cs (2)
313
int count = encoder.
GetBytes
(charBuffer, 0, charPos, byteBuffer, 0, flushEncoder);
849
int count = encoder.
GetBytes
(charBuffer, 0, charPos, byteBuffer, 0, flushEncoder);
system\text\encoder.cs (3)
107
GetBytes
(charTemp, 0, 0, byteTemp, 0, true);
213
int result =
GetBytes
(arrChar, 0, charCount, arrByte, 0, flush);
282
bytesUsed =
GetBytes
(chars, charIndex, charsUsed, bytes, byteIndex, flush);
System.Data (1)
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
237
_encoder.
GetBytes
(buffer, bufferOffset, length, bytes, 0, false);
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
285
byteCount = enc.
GetBytes
(chars, 0, charCount, bytes, 0, false);
System\Xml\EncodingStreamWrapper.cs (1)
722
byteCount = enc.
GetBytes
(chars, 0, charCount, bytes, 0, false);
System.Web (2)
HttpWriter.cs (2)
136
int byteSize = encoder.
GetBytes
(data, offset, size, _data, _size-_free, flushEncoder);
1025
int realByteSize = _responseEncoder.
GetBytes
(CharBuffer, 0, numChars,