Exemple #1
0
 public CCompressor(E_COMPRESSION_TYPE ct) : this(modshogunPINVOKE.new_CCompressor__SWIG_1((int)ct), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public DecompressUlongString(E_COMPRESSION_TYPE ct) : this(modshogunPINVOKE.new_DecompressUlongString__SWIG_1((int)ct), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
    public virtual bool save_compressed(string dest, E_COMPRESSION_TYPE compression, int level)
    {
        bool ret = modshogunPINVOKE.StringShortRealFeatures_save_compressed(swigCPtr, dest, (int)compression, level);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public virtual bool save_compressed(string dest, E_COMPRESSION_TYPE compression, int level) {
   bool ret = modshogunPINVOKE.StringShortRealFeatures_save_compressed(swigCPtr, dest, (int)compression, level);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public DecompressCharString(E_COMPRESSION_TYPE ct) : this(modshogunPINVOKE.new_DecompressCharString__SWIG_1((int)ct), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }