protected function readAmf3Xml()
{
$handle = $this->readAmf3Int();
$inline = ($handle & 1) != 0;
$handle = $handle >> 1;
if ($inline) {
$xml = $this->readBuffer($handle);
$this->storedObjects[] =& $xml;
} else {
$xml = $this->storedObjects[$handle];
}
return new Amfphp_Core_Amf_Types_Xml($xml);
}