 |
log4cplus
2.0.5
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_HELPERS_SOCKET_BUFFER_HEADER_
25 #define LOG4CPLUS_HELPERS_SOCKET_BUFFER_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
50 std::size_t
getSize()
const {
return size; }
52 std::size_t
getPos()
const {
return pos; }
79 #endif // LOG4CPLUS_HELPERS_SOCKET_HEADER_
std::basic_string< tchar > tstring
tstring readString(unsigned char sizeOfChar)
std::size_t getPos() const
std::size_t getMaxSize() const
unsigned short readShort()
std::size_t getSize() const
void setSize(std::size_t s)
SocketBuffer(std::size_t max)
void appendInt(unsigned int val)
void appendString(const tstring &str)
void appendBuffer(const SocketBuffer &buffer)
void appendByte(unsigned char val)
void appendShort(unsigned short val)