code: public static String reverseBits(final String value) {
      String result = null;
      if (value != null) {
        final char[] chars = value.toCharArray();
  
        for(int i=0; i<chars.length; i++) {
          chars [i] = (char)JBBPFieldUShort.reverseBits((short)chars[i]);
        }
  
        result = String.valueOf(chars);
      }
      return result;
    }
docs: Get the reversed bit representation of the value.
  
  @param value the value to be reversed, can be null
  @return the reversed value