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

Google.Protobuf.WritingPrimitivesMessages

Writing messages / groups.
public static void WriteGroup(ref WriteContext ctx, IMessage value)

Writes a group, without a tag.

public static void WriteMessage(ref WriteContext ctx, IMessage value)

Writes a message, without a tag. The data is length-prefixed.

public static void WriteRawMessage(ref WriteContext ctx, IMessage message)

Writes a message, without a tag. Message will be written without a length prefix.