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