public bool Identify(System.IO.Stream stream) { using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "HBSS") && reader.CheckSignature(4, "RDHS", 16)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true)) { if (reader.CheckSignature(4, "EFCF") || reader.CheckSignature(4, "EFCC")) { return(true); } else { return(false); } } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(8, "MsgStdBn")); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "FLIM", reader.BaseStream.Length - 0x28)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Switch_Toolbox.Library.IO.FileReader(stream, true)) { //File too small to have any data if (stream.Length <= 16) { return(false); } if (reader.CheckSignature(2, "BY") || reader.CheckSignature(2, "YB")) { return(true); } else { return(false); } } }