1 #ifndef SERIALIZE_ACCESSOR_H 2 #define SERIALIZE_ACCESSOR_H 23 T* ser_buffer =
reinterpret_cast<T*
>(bufptr_);
32 char* ser_buffer =
reinterpret_cast<char*
>(bufptr_);
50 init(
void* buffer,
size_t size){
51 bufstart_ =
reinterpret_cast<char*
>(buffer);
58 bufstart_ = bufptr_ = 0;
59 max_size_ = size_ = 0;
86 #endif // SERIALIZE_ACCESSOR_H
char * next_str(size_t size)
std::string printf(const char *fmt,...)
void init(void *buffer, size_t size)
ser_buffer_overrun(int maxsize)
General errors, or base class for more specific errors.