Beispiel #1
0
 public void ReadDouble(double number, byte[] data)
 {
     MsgPackSpec.ReadDouble(data.ToMultipleSegments(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
Beispiel #2
0
 public void TestDouble(double number, byte[] data)
 {
     MsgPackSpec.ReadDouble(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }