/** * Get the ordinal value of a string * * @param string $string the string for which ord is required * * @return string the ord value */ public function ord($string) { return $this->_byte->ord($string); }
/** * Get the character of an ASCII * * @param int $ascii the ASCII code for which character is required * * @return string the character */ public function chr($ascii) { return $this->_byte->chr($ascii); }