10 #ifndef MSGPACK_V1_FBUFFER_HPP 11 #define MSGPACK_V1_FBUFFER_HPP 29 void write(
const char* buf,
unsigned int len)
31 if (1 != fwrite(buf, len, 1, m_file)) {
32 throw std::runtime_error(
"fwrite() failed");
41 #if defined(MSGPACK_USE_CPP03) 45 #else // defined(MSGPACK_USE_CPP03) 48 #endif // defined(MSGPACK_USE_CPP03) 60 #endif // MSGPACK_V1_FBUFFER_HPP fbuffer & operator=(const fbuffer &)=delete
Definition: adaptor_base.hpp:15
Definition: fbuffer.hpp:24
void write(const char *buf, unsigned int len)
Definition: fbuffer.hpp:29
fbuffer(FILE *file)
Definition: fbuffer.hpp:26
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
FILE * file() const
Definition: fbuffer.hpp:36