Home
last modified time | relevance | path

Searched refs:RefillBuffer (Results 1 - 3 of 3) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DParsingPrimitives.cs489 state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, true); in ReadRawBytesSlow()
541 state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, true); in SkipRawBytes()
547 state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, true); in SkipRawBytes()
689 state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, true); in ReadRawByte()
804 state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, true); in ReadRawBytesIntoSpan()
H A DSegmentedBufferHelper.cs91 public bool RefillBuffer(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillBuffer() method
163 return state.bufferPos == state.bufferSize && !state.segmentedBufferHelper.RefillBuffer(ref buffer, ref state, false); in IsAtEnd()
292 throw new InvalidOperationException("RefillBuffer() called when buffer wasn't empty."); in CheckCurrentBufferIsEmpty()
H A DCodedInputStream.cs655 /// input. If <paramref name="mustSucceed"/> is true, RefillBuffer() gurantees that
658 /// RefillBuffer() returns false if no more bytes were available.
662 private bool RefillBuffer(bool mustSucceed) in RefillBuffer() method in Google.Protobuf.CodedInputStream
665 return state.segmentedBufferHelper.RefillBuffer(ref span, ref state, mustSucceed); in RefillBuffer()

Completed in 4 milliseconds