public static function make($data)
    {
        $n    = new self('', 0, 0, 0);
        $buff = new Buffer($data);
        $n->setBuffer($buff);

        return $n;
    }
public static function make($data)
    {
        $n    = new self('', 0, 0, 0);
        $buff = new Buffer($data);
        $n->setBuffer($buff);

        return $n;
    }
public static function make ( $ data ) { $ n = new self ( '' , 0 , 0 , 0 ) ; $ buff = new Buffer ( $ data ) ; $ n -> setBuffer ( $ buff ) ; return $ n ; }
Creates a voice packet from data sent from Discord.

@param string $data Data from Discord.

@return self A voice packet.
Creates a voice packet from data sent from Discord .