kodi
Public Member Functions | List of all members
CharVecBuffer Class Reference
Inheritance diagram for CharVecBuffer:
Inheritance graph
[legend]
Collaboration diagram for CharVecBuffer:
Collaboration graph
[legend]

Public Member Functions

 CharVecBuffer (const Buffer &buf)
 
 CharVecBuffer (const std::vector< char > &vec)
 
 operator std::vector< char > () const
 
- Public Member Functions inherited from XbmcCommons::Buffer
 Buffer ()
 Construct an uninitialized buffer instance, perhaps as an lvalue.
 
 Buffer (void *buffer_, size_t bufferSize)
 Construct a buffer given an externally managed memory buffer. More...
 
 Buffer (size_t bufferSize)
 Construct a buffer buffer using the size buffer provided. More...
 
 Buffer (const Buffer &buf)=default
 Copy another buffer. More...
 
Bufferoperator= (const Buffer &buf)
 Copy another buffer. More...
 
Bufferallocate (size_t bufferSize)
 
Bufferflip ()
 Flips this buffer. More...
 
Bufferclear ()
 Clears this buffer. More...
 
Bufferrewind ()
 This method resets the position to the beginning of the buffer so that it can be either reread or written to all over again.
 
size_t remaining () const
 This method provides for the remaining number of bytes that can be read out of the buffer or written into the buffer before it's finished.
 
Bufferput (const void *src, size_t bytes)
 
Bufferget (void *dest, size_t bytes)
 
unsigned char * data () const
 
unsigned char * curPosition () const
 
BuffersetPosition (size_t position)
 
Bufferforward (size_t positionIncrement)
 
size_t limit () const
 
size_t capacity () const
 
size_t position () const
 
 DEFAULTBUFFERRELATIVERW (Bool, bool)
 
 DEFAULTBUFFERRELATIVERW (Int, int)
 
 DEFAULTBUFFERRELATIVERW (Char, char)
 
 DEFAULTBUFFERRELATIVERW (Long, long)
 
 DEFAULTBUFFERRELATIVERW (Float, float)
 
 DEFAULTBUFFERRELATIVERW (Double, double)
 
 DEFAULTBUFFERRELATIVERW (Pointer, void *)
 
 DEFAULTBUFFERRELATIVERW (LongLong, long long)
 
BufferputString (const char *str)
 
BufferputString (const std::string &str)
 
std::string getString ()
 
std::string getString (size_t length)
 
char * getCharPointerDirect ()
 

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