SpectMorph
Public Member Functions | List of all members
SpectMorph::BinBuffer Class Reference

Public Member Functions

void write_start (const char *id)
 
void write_end ()
 
void write_int (int i)
 
void write_float (float f)
 
void write_string (const char *str)
 
void write_bool (bool b)
 
void write_byte (unsigned char byte)
 
void write_int_seq (const int *ints, size_t length)
 
void write_float_seq (const float *floats, size_t length)
 
std::string to_string ()
 
bool from_string (const std::string &str)
 
size_t remaining ()
 
bool read_error ()
 
int read_int ()
 
float read_float ()
 
const char * read_string_inplace ()
 
const char * read_start_inplace ()
 
void * read (size_t l)
 
void read_int_seq (std::vector< int > &result)
 
void read_float_seq (std::vector< float > &result)
 
bool read_bool ()
 

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