public String dumpHex() {
    StringBuilder sb = new StringBuilder();
    for (int i = start; i < end; i++) {
      byte b = data[i];
      int v = (b < 0 ? 256 + b : b);
      sb.append(String.format("x%02x", v));
    }
    return sb.toString();
  }
Return the bytes in hex format.
serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/InputByteBuffer.java