public static void SetBuffer(IntPtr file, ulong bufSize, PhysFS physFS)
            {
                int err = Interop.PHYSFS_setBuffer(file, bufSize);

                physFS.ThrowException(err);
            }
            public static void Close(IntPtr file, PhysFS physFS)
            {
                int err = Interop.PHYSFS_close(file);

                physFS.ThrowException(err);
            }
            public static void Seek(IntPtr file, ulong pos, PhysFS physFS)
            {
                int err = Interop.PHYSFS_seek(file, pos);

                physFS.ThrowException(err);
            }
            public static void Flush(IntPtr file, PhysFS physFS)
            {
                int err = Interop.PHYSFS_flush(file);

                physFS.ThrowException(err);
            }