rem: return !file.fail();
add: bool failed = file.fail(); return !failed;
context: bool sRead(std::istream &file,            void         *value,            Int32         size,           bool          swapit){    Char8 buffer[4];    if(size > 4)        return false;    if(swapit)    {        file.read(buffer, size);        for(Int32 i = 0; i < size; i++)        {            ((Char8 *) value)[i] = buffer[size - i - 1];        }    }    else    {        file.read (static_cast<Char8 *>(value), size);    }    return !file.fail();}