hex_byte_pack_upper
pos = hex_byte_pack_upper(pos, cf->data[i]);
ptr = hex_byte_pack_upper(ptr, buf[i]);
p = hex_byte_pack_upper(p, addr[index[i]]);