Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Static Public Attributes
MedBufferedFile Class Reference

Public Member Functions

int open (const string &fname)
 
int open (const string &fname, const int bsize)
 
void close ()
 
unsigned long long read (unsigned char *outb, unsigned long long pos, unsigned long long len)
 

Data Fields

string name = ""
 
int buf_size = 0
 
int buf_len = 0
 
unsigned char * buf = NULL
 
unsigned long long buf_start_in_file = 0
 
ifstream * inf = NULL
 

Static Public Attributes

static const int default_buf_size = 128 * 1024
 

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