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); }
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); }