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