2 writes to _encoding
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\IO\BinaryWriter.cs (2)
32_encoding = Encoding.UTF8; 54_encoding = encoding;
8 references to _encoding
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\IO\BinaryWriter.cs (8)
194int maxByteCount = _encoding.GetMaxByteCount(1); 202int actualByteCount = _encoding.GetBytes(new ReadOnlySpan<char>(in ch), buffer); 360int actualByteCount = _encoding.GetBytes(value, buffer.Slice(1)); 368int actualByteCount = _encoding.GetBytes(value, rented); 379int actualBytecount = _encoding.GetByteCount(value); 427int maxByteCount = _encoding.GetMaxByteCount(chars.Length); 431int actualByteCount = _encoding.GetBytes(chars, rented); 444Encoder encoder = _encoding.GetEncoder();