示例#1
0
        public PhysFSStream OpenRead(string file)
        {
            var handle = LowLevel.OpenRead(file, this);

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