<PackageReference Include="Google.Protobuf" Version="3.36.1" />

Google.Protobuf.ParsingPrimitivesMessages

Reading and skipping messages / groups
public static void CheckReadEndOfStreamTag(ref ParserInternalState state)

Verifies that the last call to ReadTag() returned tag 0 - in other words, we've reached the end of the stream when we expected to.

public static void ReadGroup(ref ParseContext ctx, IMessage message)

public static void ReadGroup(ref ParseContext ctx, int fieldNumber, UnknownFieldSet set)

public static KeyValuePair<TKey, TValue> ReadMapEntry<TKey, TValue>(ref ParseContext ctx, Codec<TKey, TValue> codec)

public static void ReadMessage(ref ParseContext ctx, IMessage message)

public static void ReadRawMessage(ref ParseContext ctx, IMessage message)

public static void SkipGroup(ref ReadOnlySpan buffer, ref ParserInternalState state, uint startGroupTag)

Skip a group.

public static void SkipLastField(ref ReadOnlySpan buffer, ref ParserInternalState state)