test_class.file: a-foundation/src/test/java/com/ajjpj/afoundation/util/StringHelperTest.java
test_class.identifier: StringHelperTest
test_case.body: @Test
      public void testBytesToHexString() {
          assertEquals(null, StringHelper.bytesToHexString (null));
          assertEquals("", StringHelper.bytesToHexString(new byte[] {}));
          assertEquals("01020304", StringHelper.bytesToHexString(new byte[] {1, 2, 3, 4}));
          assertEquals("0E0F10", StringHelper.bytesToHexString(new byte[] {14, 15, 16}));
          assertEquals("80FF", StringHelper.bytesToHexString(new byte[] {-128, -1}));
      }
test_case.class_method_signature: StringHelperTest.testBytesToHexString()
test_case.full_signature: @Test public void testBytesToHexString()
test_case.identifier: testBytesToHexString
test_case.invocations: assertEquals bytesToHexString assertEquals bytesToHexString assertEquals bytesToHexString assertEquals bytesToHexString assertEquals bytesToHexString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBytesToHexString()
focal_class.declarator: hexArray = "0123456789ABCDEF".toCharArray()
focal_class.modifier: private static final
focal_class.original_string: private static final char[] hexArray = "0123456789ABCDEF".toCharArray();
focal_class.type: char[]
focal_class.var_name: hexArray
focal_class.file: a-foundation/src/main/java/com/ajjpj/afoundation/util/StringHelper.java
focal_class.identifier: StringHelper
focal_class.class_method_signature: StringHelper.bytesToHexString(byte[] bytes)
focal_class.full_signature: public static String bytesToHexString(byte[] bytes)
focal_class.identifier: bytesToHexString
focal_class.modifiers: public static
focal_class.parameters: (byte[] bytes)
focal_class.return: String
focal_class.signature: String bytesToHexString(byte[] bytes)
focal_class.class_method_signature: StringHelper.hexStringToByteArray(String s)
focal_class.full_signature: public static byte[] hexStringToByteArray(String s)
focal_class.identifier: hexStringToByteArray
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: byte[]
focal_class.signature: byte[] hexStringToByteArray(String s)
focal_method.body: public static String bytesToHexString(byte[] bytes) {
          if(bytes == null) {
              return null;
          }
  
          final char[] hexChars = new char[bytes.length * 2];
          int v;
          for ( int j = 0; j < bytes.length; j++ ) {
              v = bytes[j] & 0xFF;
              hexChars[j * 2] = hexArray[v >>> 4];
              hexChars[j * 2 + 1] = hexArray[v & 0x0F];
          }
          return new String(hexChars);
      }
focal_method.class_method_signature: StringHelper.bytesToHexString(byte[] bytes)
focal_method.full_signature: public static String bytesToHexString(byte[] bytes)
focal_method.identifier: bytesToHexString
focal_method.modifiers: public static
focal_method.parameters: (byte[] bytes)
focal_method.return: String
focal_method.signature: String bytesToHexString(byte[] bytes)