public void CompareBytesTest(byte[] data, byte[] other, bool skip, bool expected) { var stream = new FastStreamReader(data); if (skip) { stream.SkipOneByte(); } bool actual = stream.CompareBytes(other); Assert.Equal(expected, actual); }
public void CompareBytesTest(byte[] data, byte[] other, bool skip, bool expected) { var stream = new FastStreamReader(data); if (skip) { stream.SkipOneByte(); } bool actual = stream.CompareBytes(other); Assert.Equal(expected, actual); }