bool ReadBoundary () { try { string line = ReadLine (); while (line == "") line = ReadLine (); if (line [0] != '-' || line [1] != '-') return false; if (!StrUtils.EndsWith (line, boundary, false)) return true; } catch { } return false; }