public function deserialize(array $getData, array $postData, $rawPostData)
{
$this->rawData = $rawPostData;
$this->currentByte = 0;
$this->deserializedPacket = new Amfphp_Core_Amf_Packet();
$this->readHeaders();
// read the binary headers
$this->readMessages();
// read the binary Messages
return $this->deserializedPacket;
}