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); 363int actualByteCount = _encoding.GetBytes(value, buffer.Slice(1)); 371int actualByteCount = _encoding.GetBytes(value, rented); 382int actualBytecount = _encoding.GetByteCount(value); 430int maxByteCount = _encoding.GetMaxByteCount(chars.Length); 434int actualByteCount = _encoding.GetBytes(chars, rented); 447Encoder encoder = _encoding.GetEncoder();