public static OlangFile Read(Stream stream) { var file = new OlangFile(); file.ReadInternal(stream); return(file); }
public static OlangFile Read(string path) { var file = new OlangFile(); file.ReadInternal(File.OpenRead(path)); return(file); }