Home
last modified time | relevance | path

Searched defs:SegmentedBufferHelper (Results 1 – 1 of 1) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DSegmentedBufferHelper.cs23 internal struct SegmentedBufferHelper struct
25 private int? totalLength;
27 private CodedInputStream codedInputStream;
35 …ublic static void Initialize(CodedInputStream codedInputStream, out SegmentedBufferHelper instance) in Initialize()
48 …dOnlySequence<byte> sequence, out SegmentedBufferHelper instance, out ReadOnlySpan<byte> firstSpan) in Initialize()
68 …c bool RefillBuffer(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillBuffer()
80 public int? TotalLength => totalLength;
82 public CodedInputStream CodedInputStream => codedInputStream;
90 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit()
112 public static void PopLimit(ref ParserInternalState state, int oldLimit) in PopLimit()
[all …]