protected static bool read_magic_string(BinaryReader reader, string s)
{
int n = read_int32_LE(reader);
if (s.Length != n)
return false;
byte[] buf = reader.ReadBytes(n);
string str = Encoding.ASCII.GetString(buf);
if (str != s)
return false;
return true;
}