Skip to content

Commit

Permalink
Consistent indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Jun 19, 2017
1 parent f20bd61 commit 43792a9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions fCraft/Network/PacketReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ sealed class PacketReader : BinaryReader {
public PacketReader( [NotNull] Stream stream ) :
base( stream ) { }

public OpCode ReadOpCode()
{
public OpCode ReadOpCode() {
return (OpCode)ReadByte();
}

Expand All @@ -25,9 +24,8 @@ public OpCode ReadOpCode()
}


public override int ReadInt32()
{
return IPAddress.NetworkToHostOrder(base.ReadInt32());
public override int ReadInt32() {
return IPAddress.NetworkToHostOrder( base.ReadInt32() );
}


Expand Down

0 comments on commit 43792a9

Please sign in to comment.