Пример #1
0
 public void TryRead(bool value, byte[] data)
 {
     MsgPackSpec.TryReadBoolean(data.ToMultipleSegments(), out var result, out var readSize).ShouldBeTrue();
     result.ShouldBe(value);
     readSize.ShouldBe(data.Length);
 }