Implemented interface member:
property
CurrentBufferLength
Microsoft.TemplateEngine.Core.Contracts.IProcessorState.CurrentBufferLength
5 writes to CurrentBufferLength
Microsoft.TemplateEngine.Core (5)
Util\ProcessorState.cs (5)
64
CurrentBufferLength
= ReadExactBytes(source, CurrentBuffer, 0, CurrentBuffer.Length);
122
CurrentBufferLength
+= nRead - _bomSize;
162
CurrentBufferLength
= 0;
177
CurrentBufferLength
= bytesToPreserveInBuffer + nRead;
525
CurrentBufferLength
= ReadExactBytes(_source, CurrentBuffer, 0, CurrentBufferLength);
17 references to CurrentBufferLength
Microsoft.TemplateEngine.Core (17)
Util\ProcessorState.cs (17)
66
Encoding encoding = EncodingUtil.Detect(CurrentBuffer,
CurrentBufferLength
, out byte[] bom);
119
Buffer.BlockCopy(CurrentBuffer, CurrentBufferPosition, tmp, 0,
CurrentBufferLength
- CurrentBufferPosition);
120
int nRead = ReadExactBytes(_source, tmp,
CurrentBufferLength
- CurrentBufferPosition, tmp.Length -
CurrentBufferLength
);
144
if (
CurrentBufferLength
== 0 || bufferPosition == 0)
158
int bytesToPreserveInBuffer =
CurrentBufferLength
- bufferPosition;
160
if (
CurrentBufferLength
< CurrentBuffer.Length && bytesToPreserveInBuffer == 0)
176
int nRead = ReadExactBytes(_source, CurrentBuffer, bytesToPreserveInBuffer,
CurrentBufferLength
- bytesToPreserveInBuffer);
195
while (CurrentBufferPosition <
CurrentBufferLength
)
221
int bytesWritten = operation.HandleMatch(this,
CurrentBufferLength
, ref posedPosition, terminal.Terminal.Token);
261
bufferPositionToAdvanceTo =
CurrentBufferLength
;
318
int bytesWritten = operation.HandleMatch(this,
CurrentBufferLength
, ref posedPosition, terminal.Terminal.Token);
340
int endSequenceNumber = CurrentSequenceNumber - CurrentBufferPosition +
CurrentBufferLength
;
347
_target.Write(CurrentBuffer,
CurrentBufferLength
- toWrite, toWrite);
469
bufferLength =
CurrentBufferLength
;
518
bufferLength =
CurrentBufferLength
;
525
CurrentBufferLength = ReadExactBytes(_source, CurrentBuffer, 0,
CurrentBufferLength
);