Btk
Btk::RWops Class Reference
Inheritance diagram for Btk::RWops:

Public Member Functions

 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 &&)
 

Static Public Member Functions

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)
 

Friends

class MemBuffer
 

Member Function Documentation

◆ close()

bool Btk::RWops::close ( )

Close the rwops.

Returns
true
false

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