MP4v2
|
Public Types | |
enum | Mode { MODE_UNDEFINED, MODE_READ, MODE_MODIFY, MODE_CREATE } |
file operation mode flags More... | |
typedef int64_t | Size |
type used to represent all file sizes and offsets | |
Public Member Functions | |
virtual bool | open (const std::string &name, Mode mode)=0 |
virtual bool | seek (Size pos)=0 |
virtual bool | read (void *buffer, Size size, Size &nin)=0 |
virtual bool | write (const void *buffer, Size size, Size &nout)=0 |
virtual bool | truncate (Size size)=0 |
virtual bool | close ()=0 |
virtual bool | getSize (Size &nout)=0 |
Static Public Member Functions | |
static FileProvider & | standard () |