test_class.file: core/src/test/java/dk/alexandra/fresco/framework/util/TestByteArrayHelper.java
test_class.identifier: TestByteArrayHelper
test_case.body: @Test
    public void testShiftArray2() {
      byte[] input = new byte[] { (byte) 0x80, (byte) 0x01 };
      byte[] output = new byte[4];
      ByteArrayHelper.shiftArray(input, output, 8);
      byte[] expected = new byte[] { (byte) 0x00, (byte) 0x80, (byte) 0x01,
          (byte) 0x00 };
      for (int i = 0; i < 4; i++) {
        assertEquals(expected[i], output[i]);
      }
    }
test_case.class_method_signature: TestByteArrayHelper.testShiftArray2()
test_case.full_signature: @Test public void testShiftArray2()
test_case.identifier: testShiftArray2
test_case.invocations: shiftArray assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testShiftArray2()
focal_class.file: core/src/main/java/dk/alexandra/fresco/framework/util/ByteArrayHelper.java
focal_class.identifier: ByteArrayHelper
focal_class.class_method_signature: ByteArrayHelper.ByteArrayHelper()
focal_class.full_signature: private  ByteArrayHelper()
focal_class.identifier: ByteArrayHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ByteArrayHelper()
focal_class.class_method_signature: ByteArrayHelper.getBit(byte[] input, int index)
focal_class.full_signature: public static boolean getBit(byte[] input, int index)
focal_class.identifier: getBit
focal_class.modifiers: public static
focal_class.parameters: (byte[] input, int index)
focal_class.return: boolean
focal_class.signature: boolean getBit(byte[] input, int index)
focal_class.class_method_signature: ByteArrayHelper.setBit(byte[] input, int index, boolean choice)
focal_class.full_signature: public static void setBit(byte[] input, int index, boolean choice)
focal_class.identifier: setBit
focal_class.modifiers: public static
focal_class.parameters: (byte[] input, int index, boolean choice)
focal_class.return: void
focal_class.signature: void setBit(byte[] input, int index, boolean choice)
focal_class.class_method_signature: ByteArrayHelper.xor(List<byte[]> vector1, List<byte[]> vector2)
focal_class.full_signature: public static void xor(List<byte[]> vector1, List<byte[]> vector2)
focal_class.identifier: xor
focal_class.modifiers: public static
focal_class.parameters: (List<byte[]> vector1, List<byte[]> vector2)
focal_class.return: void
focal_class.signature: void xor(List<byte[]> vector1, List<byte[]> vector2)
focal_class.class_method_signature: ByteArrayHelper.xor(byte[] arr1, byte[] arr2)
focal_class.full_signature: public static void xor(byte[] arr1, byte[] arr2)
focal_class.identifier: xor
focal_class.modifiers: public static
focal_class.parameters: (byte[] arr1, byte[] arr2)
focal_class.return: void
focal_class.signature: void xor(byte[] arr1, byte[] arr2)
focal_class.class_method_signature: ByteArrayHelper.shiftArray(byte[] input, byte[] output, int positions)
focal_class.full_signature: public static void shiftArray(byte[] input, byte[] output, int positions)
focal_class.identifier: shiftArray
focal_class.modifiers: public static
focal_class.parameters: (byte[] input, byte[] output, int positions)
focal_class.return: void
focal_class.signature: void shiftArray(byte[] input, byte[] output, int positions)
focal_method.body: public static void shiftArray(byte[] input, byte[] output, int positions) {
      for (int i = 0; i < input.length * 8; i++) {
        setBit(output, positions + i, getBit(input, i));
      }
    }
focal_method.class_method_signature: ByteArrayHelper.shiftArray(byte[] input, byte[] output, int positions)
focal_method.full_signature: public static void shiftArray(byte[] input, byte[] output, int positions)
focal_method.identifier: shiftArray
focal_method.invocations: setBit getBit
focal_method.modifiers: public static
focal_method.parameters: (byte[] input, byte[] output, int positions)
focal_method.return: void
focal_method.signature: void shiftArray(byte[] input, byte[] output, int positions)