1 write to _buff
Microsoft.ML.Core (1)
Utilities\TextReaderStream.cs (1)
81_buff = new byte[Math.Max(_encoding.GetByteCount("\n"), _encoding.GetMaxByteCount(_charBlockSize))];
6 references to _buff
Microsoft.ML.Core (6)
Utilities\TextReaderStream.cs (6)
132_buffLim = _encoding.GetBytes("\n", 0, 1, _buff, 0); 134Contracts.Assert(0 < _buffLim && _buffLim <= _buff.Length); 142_buffLim = _encoding.GetBytes(_line, _lineCur, charCount, _buff, 0); 143Contracts.Assert(0 < _buffLim && _buffLim <= _buff.Length); 162Buffer.BlockCopy(_buff, _buffCur, buffer, offset, toCopy); 175return _eof ? -1 : (int)_buff[_buffCur++];