diff --git a/protocol/src/main/resources/csharp/ProtocolTemplate.cs b/protocol/src/main/resources/csharp/ProtocolTemplate.cs index a927fb949..6518f0df3 100644 --- a/protocol/src/main/resources/csharp/ProtocolTemplate.cs +++ b/protocol/src/main/resources/csharp/ProtocolTemplate.cs @@ -38,7 +38,8 @@ public object Read(ByteBuffer buffer) int beforeReadIndex = buffer.ReadOffset(); {} packet = new {}(); {} - if (length > 0) { + if (length > 0) + { buffer.SetReadOffset(beforeReadIndex + length); } return packet;