OpenCvSharp.FileStorage.Root C# (CSharp) Method

Root() public method

Returns the top-level mapping. YAML supports multiple streams
public Root ( int streamidx ) : FileNode
streamidx int
return FileNode
        public FileNode Root(int streamidx = 0)
        {
            if (disposed)
                throw new ObjectDisposedException("FileStorage");
            IntPtr node = NativeMethods.core_FileStorage_root(ptr, streamidx);
            if (node == IntPtr.Zero)
                return null;
            return new FileNode(node);
        }