test_class.file: core/src/test/java/dk/alexandra/fresco/framework/util/TestByteAndBitConverter.java
test_class.identifier: TestByteAndBitConverter
test_case.body: @Test
    public void toByteArrayInt() {
      Assert.assertArrayEquals(new byte[4], ByteAndBitConverter.toByteArray(0));
      Assert.assertArrayEquals(
          new byte[]{0, 0, 0, 1}, ByteAndBitConverter.toByteArray(1));
      Assert.assertArrayEquals(
          new byte[]{0, 0, 0, 42}, ByteAndBitConverter.toByteArray(42));
      Assert.assertArrayEquals(
          new byte[]{1, 0, 0, 0}, ByteAndBitConverter.toByteArray(1 << 24));
      Assert.assertArrayEquals(
          new byte[]{1, 0, 42, 0}, ByteAndBitConverter.toByteArray((1 << 24) + (42 << 8)));
      Assert.assertArrayEquals(
          new byte[]{-1, -1, -1, -1}, ByteAndBitConverter.toByteArray(0xffffffff));
    }
test_case.class_method_signature: TestByteAndBitConverter.toByteArrayInt()
test_case.full_signature: @Test public void toByteArrayInt()
test_case.identifier: toByteArrayInt
test_case.invocations: assertArrayEquals toByteArray assertArrayEquals toByteArray assertArrayEquals toByteArray assertArrayEquals toByteArray assertArrayEquals toByteArray assertArrayEquals toByteArray
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toByteArrayInt()
focal_class.file: core/src/main/java/dk/alexandra/fresco/framework/util/ByteAndBitConverter.java
focal_class.identifier: ByteAndBitConverter
focal_class.class_method_signature: ByteAndBitConverter.ByteAndBitConverter()
focal_class.full_signature: private  ByteAndBitConverter()
focal_class.identifier: ByteAndBitConverter
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ByteAndBitConverter()
focal_class.class_method_signature: ByteAndBitConverter.toByteArray(long value)
focal_class.full_signature: public static byte[] toByteArray(long value)
focal_class.identifier: toByteArray
focal_class.modifiers: public static
focal_class.parameters: (long value)
focal_class.return: byte[]
focal_class.signature: byte[] toByteArray(long value)
focal_class.class_method_signature: ByteAndBitConverter.toByteArray(int value)
focal_class.full_signature: public static byte[] toByteArray(int value)
focal_class.identifier: toByteArray
focal_class.modifiers: public static
focal_class.parameters: (int value)
focal_class.return: byte[]
focal_class.signature: byte[] toByteArray(int value)
focal_class.class_method_signature: ByteAndBitConverter.intToBitSet(int i)
focal_class.full_signature: public static BitSet intToBitSet(int i)
focal_class.identifier: intToBitSet
focal_class.modifiers: public static
focal_class.parameters: (int i)
focal_class.return: BitSet
focal_class.signature: BitSet intToBitSet(int i)
focal_class.class_method_signature: ByteAndBitConverter.toBoolean(String hex)
focal_class.full_signature: public static Boolean[] toBoolean(String hex)
focal_class.identifier: toBoolean
focal_class.modifiers: public static
focal_class.parameters: (String hex)
focal_class.return: Boolean[]
focal_class.signature: Boolean[] toBoolean(String hex)
focal_class.class_method_signature: ByteAndBitConverter.toHex(boolean[] bits)
focal_class.full_signature: public static String toHex(boolean[] bits)
focal_class.identifier: toHex
focal_class.modifiers: public static
focal_class.parameters: (boolean[] bits)
focal_class.return: String
focal_class.signature: String toHex(boolean[] bits)
focal_class.class_method_signature: ByteAndBitConverter.toHex(List<Boolean> bits)
focal_class.full_signature: public static String toHex(List<Boolean> bits)
focal_class.identifier: toHex
focal_class.modifiers: public static
focal_class.parameters: (List<Boolean> bits)
focal_class.return: String
focal_class.signature: String toHex(List<Boolean> bits)
focal_class.class_method_signature: ByteAndBitConverter.convertArray(Boolean[] in)
focal_class.full_signature: private static boolean[] convertArray(Boolean[] in)
focal_class.identifier: convertArray
focal_class.modifiers: private static
focal_class.parameters: (Boolean[] in)
focal_class.return: boolean[]
focal_class.signature: boolean[] convertArray(Boolean[] in)
focal_method.body: public static byte[] toByteArray(long value) {
      byte[] bytes = new byte[8];
      for (int i = 7; i >= 0; i--) {
        bytes[i] = (byte) (value & 0xFF);
        value >>= 8;
      }
      return bytes;
    }
focal_method.class_method_signature: ByteAndBitConverter.toByteArray(long value)
focal_method.full_signature: public static byte[] toByteArray(long value)
focal_method.identifier: toByteArray
focal_method.modifiers: public static
focal_method.parameters: (long value)
focal_method.return: byte[]
focal_method.signature: byte[] toByteArray(long value)