Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Jan 29, 2021
1 parent 59fa86f commit 3067256
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions csharp/src/Google.Protobuf/WritingPrimitives.cs
Expand Up @@ -399,9 +399,9 @@ public static void WriteLength(ref Span<byte> buffer, ref WriterInternalState st
WriteRawVarint32(ref buffer, ref state, (uint)length);
}

#endregion
#endregion

#region Writing primitives
#region Writing primitives
/// <summary>
/// Writes a 32 bit value as a varint. The fast route is taken when
/// there's enough buffer space left to whizz through without checking
Expand Down Expand Up @@ -584,9 +584,9 @@ public static void WriteRawBytes(ref Span<byte> buffer, ref WriterInternalState
state.position += remainderLength;
}
}
#endregion
#endregion

#region Raw tag writing
#region Raw tag writing
/// <summary>
/// Encodes and writes a tag.
/// </summary>
Expand Down Expand Up @@ -715,7 +715,7 @@ private static void WriteRawTagSlowPath(ref Span<byte> buffer, ref WriterInterna
WriteRawByte(ref buffer, ref state, b4);
WriteRawByte(ref buffer, ref state, b5);
}
#endregion
#endregion

/// <summary>
/// Encode a 32-bit value with ZigZag encoding.
Expand Down

0 comments on commit 3067256

Please sign in to comment.