function decompress(string $data): string {
        if(!$this->context) {
            throw new \CharlotteDunois\Yasmin\WebSocket\DiscordGatewayException('No inflate context initialized');
        }
        
        $uncompressed = \inflate_add($this->context, $data);
        if($uncompressed === false) {
            throw new \CharlotteDunois\Yasmin\WebSocket\DiscordGatewayException('The inflate context was unable to decompress the data');
        }
        
        return $uncompressed;
    }