public void ReadFloat(float number, byte[] data)
 {
     MsgPackSpec.ReadFloat(data.ToMultipleSegments(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
Exemple #2
0
 public void TestFloat(float number, byte[] data)
 {
     MsgPackSpec.ReadFloat(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }