public function readDouble($isCollectionElement = false) { if ($isCollectionElement) { $this->readShort(); } return unpack('d', strrev($this->read(8)))[1]; }