data); $i += 2) { $bytes .= chr(hexdec($this->data[$i].$this->data[$i+1])); } return $bytes; } function read() { for($i = 0; $i < 8; $i++) { // Store KeyID in Hex $this->data .= sprintf('%02X',ord($this->read_byte())); } } }