private bool CheckFormat(LB83File file) { FourCC fourCC = file.ReadFourCC(); if (fourCC == "LB83") { return(true); } return(false); }
protected override SRFile CreateFromStream(string path, Stream stream) { var file = new LB83File(path, stream); if (!CheckFormat(file)) { file.Close(); file = null; } return(file); }