18#ifndef __LIB_LIBFS_PSEUDOFILE_H
19#define __LIB_LIBFS_PSEUDOFILE_H
Represents a file present on a FileSystem.
Abstract Input/Output buffer.
Pseudo files only exist in memory.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read bytes from the file.
virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Write bytes to the file.
virtual ~PseudoFile()
Destructor.
char * m_buffer
Buffer from which we read.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
Result
Result code for filesystem Actions.