* @revision 01 * @license http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution-Share Alike 3.0 Germany * @homepage http://oss.tiggerswelt.net/oscar/ * @copyright Copyright © 2009 tiggersWelt.net */ class Oscar_TLV_Helper_u08 extends Oscar_TLV { /* Value of this TLV */ public $Value = 0x00; // {{{ parse /** * Parse this TLV * * @access public * @return void */ public function parse () { $this->Value = Oscar_Common::str2int8 ($this->Data, 0, true); } // }}} // {{{ generate /** * Generate a string from this TLV * * @access public * @return string */ public function generate () { $this->Data = Oscar_Common::int8tostr ($this->Value); return parent::generate (); } // }}} } ?>