BusBoy
2
|
#include <WritableRandomAccessFile.h>
Public Member Functions | |
virtual void | write (char *buf, size_t num)=0 |
Write num bytes from buf. More... | |
virtual void | setFileSize (size_t size)=0 |
Change size to truncate or extend the file. More... | |
Public Member Functions inherited from BUSBOY::RandomAccessFile | |
virtual size_t | read (char *buf, size_t num)=0 |
Read up to the next num bytes into buf, returns the number of bytes read. More... | |
virtual size_t | getLocation ()=0 |
Returns the absolute location of the file pointer, in bytes. More... | |
virtual void | setLocation (size_t loc)=0 |
Set absolute location from file start. More... | |
virtual void | setLocationFromEnd (size_t loc)=0 |
Set location in bytes back from end of file. More... | |
virtual void | skipForward (size_t num)=0 |
Skip num bytes forward from current location. More... | |
virtual void | skipBackward (size_t num)=0 |
Skip num bytes backward from current location. More... | |
virtual size_t | getFileSize ()=0 |
virtual void | close ()=0 |
virtual bool | isClosed () const =0 |
|
pure virtual |
Change size to truncate or extend the file.
|
pure virtual |
Write num bytes from buf.
Copyright 2014 Google Inc. All rights reserved.