コード例 #1
0
            public static void SetBuffer(IntPtr file, ulong bufSize, PhysFS physFS)
            {
                int err = Interop.PHYSFS_setBuffer(file, bufSize);

                physFS.ThrowException(err);
            }
コード例 #2
0
            public static void Close(IntPtr file, PhysFS physFS)
            {
                int err = Interop.PHYSFS_close(file);

                physFS.ThrowException(err);
            }
コード例 #3
0
            public static void Seek(IntPtr file, ulong pos, PhysFS physFS)
            {
                int err = Interop.PHYSFS_seek(file, pos);

                physFS.ThrowException(err);
            }
コード例 #4
0
            public static void Flush(IntPtr file, PhysFS physFS)
            {
                int err = Interop.PHYSFS_flush(file);

                physFS.ThrowException(err);
            }