private void byte2char(int radix, int fromPos) {
    for (int i = fromPos; i < value.length; i++) {
      value[i] = (byte) Character.toUpperCase(Character.forDigit(value[i],
          radix));
    }
  }
Convert the bytes in value[] to the corresponding chars.

@param radix
         must be between MIN_RADIX and MAX_RADIX
@param fromPos
         is the first nonzero element
ql/src/java/org/apache/hadoop/hive/ql/udf/UDFConv.java