8#ifndef _Belle2_Buffer_hh
9#define _Belle2_Buffer_hh
24 Buffer(
unsigned int size,
unsigned char* memory = NULL);
30 unsigned char* ptr() {
return m_memory; }
31 const unsigned char* ptr()
const {
return m_memory; }
32 unsigned int size()
const {
return m_size; }
33 virtual bool available() {
return m_memory != NULL; }
41 unsigned char* m_memory;
Abstract base class for different kinds of events.