Esempio n. 1
0
 public void TetsUnsignedShort(ushort number, byte[] data)
 {
     MsgPackSpec.ReadUInt16(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
Esempio n. 2
0
 public void ReadUnsignedShort(ushort number, byte[] data)
 {
     MsgPackSpec.ReadUInt16(data.ToSingleSegment(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }