public static bool readBool(BinaryReader reader) { byte val = readByte(reader); return val == 1 ? true : false; }