core_FileNode_readRaw() private method

private core_FileNode_readRaw ( IntPtr obj, [ fmt, IntPtr vec, IntPtr len ) : void
obj System.IntPtr
fmt [
vec System.IntPtr
len System.IntPtr
return void
コード例 #1
0
 /// <summary>
 /// Reads node elements to the buffer with the specified format
 /// </summary>
 /// <param name="fmt"></param>
 /// <param name="vec"></param>
 /// <param name="len"></param>
 public void ReadRaw(string fmt, IntPtr vec, long len)
 {
     ThrowIfDisposed();
     if (fmt == null)
     {
         throw new ArgumentNullException(nameof(fmt));
     }
     NativeMethods.core_FileNode_readRaw(ptr, fmt, vec, new IntPtr(len));
 }
コード例 #2
0
ファイル: FileNode.cs プロジェクト: rriverak/opencvsharp
 /// <summary>
 /// Reads node elements to the buffer with the specified format
 /// </summary>
 /// <param name="fmt"></param>
 /// <param name="vec"></param>
 /// <param name="len"></param>
 public void ReadRaw(string fmt, IntPtr vec, long len)
 {
     if (disposed)
     {
         throw new ObjectDisposedException("FileNode");
     }
     if (fmt == null)
     {
         throw new ArgumentNullException("fmt");
     }
     NativeMethods.core_FileNode_readRaw(ptr, fmt, vec, new IntPtr(len));
 }