Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcidev authored Oct 4, 2018
1 parent 8858438 commit 89e9850
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Serializer allows to directly serialize/deserialize object into/from Packet obje
[PacketClass(1)]
public class MyObject
{
// Marks property to be serialized in specified order
[PacketProperty(1)]
public SByte SByte { get; set; }
// Marks property to be serialized in specified order
[PacketProperty(1)]
public SByte SByte { get; set; }

[PacketProperty(2)]
public UInt16 UInt16 { get; set; }
[PacketProperty(2)]
public UInt16 UInt16 { get; set; }

[PacketProperty(3)]
public DateTime DateTime { get; set; }
[PacketProperty(3)]
public DateTime DateTime { get; set; }
}

var obj = new MyObject();
Expand Down

0 comments on commit 89e9850

Please sign in to comment.