public void AddFile(string filepath, string filename, FileListNodeContext context) { SLikeNetPINVOKE.FileList_AddFile__SWIG_0(swigCPtr, filepath, filename, FileListNodeContext.getCPtr(context)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddFilesFromDirectory(string applicationDirectory, string subDirectory, bool writeHash, bool writeData, bool recursive, FileListNodeContext context) { SLikeNetPINVOKE.FileList_AddFilesFromDirectory(swigCPtr, applicationDirectory, subDirectory, writeHash, writeData, recursive, FileListNodeContext.getCPtr(context)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddFile(string filename, string fullPathToFile, byte[] inByteArray, uint dataLength, uint fileLength, FileListNodeContext context) { SLikeNetPINVOKE.FileList_AddFile__SWIG_2(swigCPtr, filename, fullPathToFile, inByteArray, dataLength, fileLength, FileListNodeContext.getCPtr(context)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public uint GetFilePart(string filename, uint startReadBytes, uint numBytesToRead, byte[] inOutByteArray, FileListNodeContext context) { uint ret = SLikeNetPINVOKE.IncrementalReadInterface_GetFilePart(swigCPtr, filename, startReadBytes, numBytesToRead, inOutByteArray, FileListNodeContext.getCPtr(context)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(FileListNodeContext obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }