simplify serialization to single span

pull/7576/head
Jan Tattermusch 5 years ago
parent b3cdba1cfd
commit ba61d76e52
  1. 1
      csharp/src/Google.Protobuf/MessageExtensions.cs

@ -176,7 +176,6 @@ namespace Google.Protobuf
WriteContext.Initialize(ref output, out WriteContext ctx); WriteContext.Initialize(ref output, out WriteContext ctx);
WritingPrimitivesMessages.WriteRawMessage(ref ctx, message); WritingPrimitivesMessages.WriteRawMessage(ref ctx, message);
ctx.Flush();
ctx.CheckNoSpaceLeft(); ctx.CheckNoSpaceLeft();
} }

Loading…
Cancel
Save