8#ifndef _Belle2_Writer_hh
9#define _Belle2_Writer_hh
28 virtual size_t write(
const void*,
size_t) = 0;
29 virtual bool available() = 0;
32 void reverse(
void* buf,
size_t len);
35 virtual void writeBool(
bool);
36 virtual void writeChar(
char);
37 virtual void writeShort(
short);
38 virtual void writeInt(
int);
39 virtual void writeLong(
long long);
40 virtual void writeUChar(
unsigned char);
41 virtual void writeUShort(
unsigned short);
42 virtual void writeUInt(
unsigned int);
43 virtual void writeULong(
unsigned long long);
44 virtual void writeFloat(
float);
45 virtual void writeDouble(
double);
46 virtual void writeString(
const std::string&);
Abstract base class for different kinds of events.