BananaHook.Specs.Asm.describe_X86Assembler.ItShouldHaveTheBytes C# (CSharp) Method

ItShouldHaveTheBytes() private method

private ItShouldHaveTheBytes ( int index ) : void
index int
return void
        void ItShouldHaveTheBytes(int index, params byte[] b)
        {
            it["should have the correct bytes"] = () =>
            {
                for (int i = 0; i < b.Length; i++)
                {
                    bytes[index + i].should_be(b[i]);
                }
            };
        }