void IFile::getContents(OutputBlob& blob) { size_t tmp = size(); blob.resize((int)tmp); read(blob.getMutableData(), tmp); }