예제 #1
0
        public PhysFSStream OpenWrite(string file)
        {
            var handle = LowLevel.OpenWrite(file, this);

            if (handle == IntPtr.Zero)
            {
                throw new PhysFSException(this);
            }
            return(new PhysFSStream(this, handle, false));
        }