public function readDouble()
    {
        $double = $this->readRawBytes(8);

        if (Spec::isLittleEndian()) {
            $double = strrev($double);
        }

        $double = unpack("d", $double);
        return $double[1];
    }