Btk
Btk::MemBuffer Class Reference
Inheritance diagram for Btk::MemBuffer:
Collaboration diagram for Btk::MemBuffer:

Public Member Functions

 MemBuffer (MemBuffer &&)
 
Sint64 tellp () const noexcept
 
Sint64 seek (int64_t offset, int whence)
 
size_t write (const void *buf, size_t num, size_t n)
 
size_t read (void *buf, size_t num, size_t n)
 
size_t size () const noexcept
 
size_t capcitity () const noexcept
 
- Public Member Functions inherited from Btk::RWops
 RWops (SDL_RWops *r)
 
 RWops (const RWops &)=delete
 
 RWops (RWops &&rw)
 
SDL_RWops * get () const noexcept
 
bool close ()
 Close the rwops. More...
 
size_t write (const void *buf, size_t size, size_t n)
 
size_t read (void *buf, size_t size, size_t n)
 
size_t tell () const
 
size_t size () const
 
size_t seek (Sint64 offset, int whence)
 
RWopsoperator= (RWops &&)
 

Friends

std::ostream & operator<< (std::ostream &, const MemBuffer &)
 

Additional Inherited Members

- Static Public Member Functions inherited from Btk::RWops
static RWops FromStdIstream (std::istream &)
 
static RWops FromStdOstream (std::ostream &)
 
static RWops FromStdFstream (std::fstream &)
 
static RWops FromFile (const char *fname, const char *modes)
 
static RWops FromFD (int fd, const char *modes)
 

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