7 if (
fIn.open(QIODevice::ReadOnly) ==
false) {
12 std::cerr <<
fIn.errorString().toStdString() << std::endl;
44 if (fIn.open(QIODevice::ReadOnly) ==
false) {
106 if (!
path.length())
return 0;
108 if (!fIn.open(QIODevice::ReadOnly))
return 0;
123 if (
fOut.open(QFile::WriteOnly) ==
false) {
INT_TYPE _getNumValue(void *ptr)
const bufsize_t FILEVIEW_MAXSIZE
const bufsize_t FILE_MAXSIZE
static bufsize_t getReadableSize(QFile &fIn)
static bufsize_t dump(const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
static ByteBuffer * read(QString &file, bufsize_t minBufSize, const bool allowTruncate)
bufsize_t getMappableSize()
FileView(QString &fileName, bufsize_t maxSize=FILE_MAXSIZE)
bool append(dbg_level lvl, const char *format,...)