Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
Buffer.h File Reference
#include <string.h>
#include <string>
#include <memory>

Classes

class  XbmcCommons::BufferException
 
class  XbmcCommons::Buffer
 

Namespaces

namespace  XbmcCommons
 

Macros

#define DEFAULTBUFFERRELATIVERW(name, type)
 

Macro Definition Documentation

◆ DEFAULTBUFFERRELATIVERW

#define DEFAULTBUFFERRELATIVERW (   name,
  type 
)
Value:
inline Buffer& put##name(const type & val) { return put(&val, sizeof(type)); } \
inline type get##name() { type ret; get(&ret, sizeof(type)); return ret; }