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.cs46 internal struct SegmentedBufferHelper struct
48 private int? totalLength;
50 private CodedInputStream codedInputStream;
58 …ublic static void Initialize(CodedInputStream codedInputStream, out SegmentedBufferHelper instance) in Initialize()
71 …dOnlySequence<byte> sequence, out SegmentedBufferHelper instance, out ReadOnlySpan<byte> firstSpan) in Initialize()
91 …c bool RefillBuffer(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillBuffer()
103 public int? TotalLength => totalLength;
105 public CodedInputStream CodedInputStream => codedInputStream;
113 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit()
135 public static void PopLimit(ref ParserInternalState state, int oldLimit) in PopLimit()
[all …]