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