示例#1
0
        public static OlangFile Read(Stream stream)
        {
            var file = new OlangFile();

            file.ReadInternal(stream);

            return(file);
        }
示例#2
0
        public static OlangFile Read(string path)
        {
            var file = new OlangFile();

            file.ReadInternal(File.OpenRead(path));

            return(file);
        }