Sfoglia il codice sorgente

simplify serialization to single span

Jan Tattermusch 5 anni fa
parent
commit
ba61d76e52
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      csharp/src/Google.Protobuf/MessageExtensions.cs

+ 0 - 1
csharp/src/Google.Protobuf/MessageExtensions.cs

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