2 writes to _encoding
mscorlib (2)
system\io\binarywriter.cs (2)
63
_encoding
= new UTF8Encoding(false, true);
87
_encoding
= encoding;
8 references to _encoding
mscorlib (8)
system\io\binarywriter.cs (8)
64
_encoder =
_encoding
.GetEncoder();
88
_encoder =
_encoding
.GetEncoder();
196
Contract.Assert(
_encoding
.GetMaxByteCount(1) <= 16, "_encoding.GetMaxByteCount(1) <= 16)");
215
byte[] bytes =
_encoding
.GetBytes(chars, 0, chars.Length);
226
byte[] bytes =
_encoding
.GetBytes(chars, index, count);
361
int len =
_encoding
.GetByteCount(value);
366
_maxChars = _largeByteBuffer.Length /
_encoding
.GetMaxByteCount(1);
371
_encoding
.GetBytes(value, 0, value.Length, _largeByteBuffer, 0);