convert hex '\xff' to integer,ord('\xff')