public ClassDisposeWrapper()
        {
            _handle = NativeLibBufferMethods.CreateLibBuffer();

            // Determine if file is opened successfully.
            if (_handle.IsInvalid)
            {
                throw new Win32Exception(Marshal.GetLastWin32Error());
            }
        }
 internal static extern int GetDataSize(NativeLibBufferHandle ptr);