Read() 공개 메소드

Reads a DBPF archive from a stream.
public Read ( Stream stream ) : void
stream Stream The stream to read from.
리턴 void
예제 #1
0
        public static DBPFFile LoadResource(string file, bool isDownload = false)
        {
            var res = new DBPFFile();

            res.fname = file;
            var stream = File.OpenRead(file);

            res.Read(stream, true, isDownload);
            return(res);
        }