OpenCvSharp.FileStorage.ReleaseAndGetString C# (CSharp) Method

ReleaseAndGetString() public method

Closes the file, releases all the memory buffers and returns the text string
public ReleaseAndGetString ( ) : string
return string
        public string ReleaseAndGetString()
        {
            if (disposed)
                throw new ObjectDisposedException("FileStorage");
            var buf = new StringBuilder(1 << 16);
            NativeMethods.core_FileStorage_releaseAndGetString(ptr, buf, buf.Capacity);
            ptr = IntPtr.Zero;
            Dispose();
            return buf.ToString();
        }