Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Protected Attributes | List of all members
RaWriter Class Reference

Public Member Functions

 RaWriter (const char *filename, bool direct=false)
 
bool writeGrain ()
 
void dump (const char *buf, std::size_t len)
 write with buffering. flush occurs at grain boundaries
 
void fill (std::size_t len)
 write null bytes
 
void finish ()
 write null bytes up to the end of grain
 
void fwd (off_t len)
 
void seek (off_t len)
 
off_t getPos ()
 
int getCount ()
 
void close_ ()
 

Protected Attributes

std::string filename
 
int fd
 
int count
 
char tmp [FS_GRAIN_SIZE]
 
void * ptmp = &tmp[0]
 
bool is_open
 

The documentation for this class was generated from the following files: