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(); 196Contract.Assert(_encoding.GetMaxByteCount(1) <= 16, "_encoding.GetMaxByteCount(1) <= 16)"); 215byte[] bytes = _encoding.GetBytes(chars, 0, chars.Length); 226byte[] bytes = _encoding.GetBytes(chars, index, count); 361int len = _encoding.GetByteCount(value); 366_maxChars = _largeByteBuffer.Length / _encoding.GetMaxByteCount(1); 371_encoding.GetBytes(value, 0, value.Length, _largeByteBuffer, 0);