Example #1
0
 public void TetsUnsignedInt(uint number, byte[] data)
 {
     MsgPackSpec.ReadUInt32(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
Example #2
0
 public void ReadUnsignedInt(uint number, byte[] data)
 {
     MsgPackSpec.ReadUInt32(data.ToSingleSegment(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }