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);
134
Contracts.Assert(0 < _buffLim && _buffLim <=
_buff
.Length);
142
_buffLim = _encoding.GetBytes(_line, _lineCur, charCount,
_buff
, 0);
143
Contracts.Assert(0 < _buffLim && _buffLim <=
_buff
.Length);
162
Buffer.BlockCopy(
_buff
, _buffCur, buffer, offset, toCopy);
175
return _eof ? -1 : (int)
_buff
[_buffCur++];