Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
DRM::CharVecBuffer Class Reference

#include <MediaDrmCryptoSession.h>

Inheritance diagram for DRM::CharVecBuffer:
Collaboration diagram for DRM::CharVecBuffer:

Public Member Functions

 CharVecBuffer (const XbmcCommons::Buffer &buf)
 
 CharVecBuffer (const std::vector< char > &vec)
 
 operator std::vector< char > () const
 
- Public Member Functions inherited from XbmcCommons::Buffer
 Buffer ()
 
 Buffer (void *buffer_, size_t bufferSize)
 
 Buffer (size_t bufferSize)
 
 Buffer (const Buffer &buf)=default
 
Bufferoperator= (const Buffer &buf)
 
Bufferallocate (size_t bufferSize)
 
Bufferflip ()
 
Bufferclear ()
 
Bufferrewind ()
 
size_t remaining () const
 
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 ()
 

Constructor & Destructor Documentation

◆ CharVecBuffer() [1/2]

DRM::CharVecBuffer::CharVecBuffer ( const XbmcCommons::Buffer buf)
inline

◆ CharVecBuffer() [2/2]

DRM::CharVecBuffer::CharVecBuffer ( const std::vector< char > &  vec)
inline

Member Function Documentation

◆ operator std::vector< char >()

DRM::CharVecBuffer::operator std::vector< char > ( ) const
inline

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