public function writeFloat($float)
    {
        try {
            $this->getStream()->write(pack('d', $float));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::FLOAT, false);
        }
    }