예제 #1
0
 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);
 }