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; }
void setSize(std::size_t s)
SocketBuffer(std::size_t max)
tstring readString(unsigned char sizeOfChar)
void appendByte(unsigned char val)
std::size_t getMaxSize() const
void appendString(const tstring &str)
void appendBuffer(const SocketBuffer &buffer)
void appendInt(unsigned int val)
unsigned short readShort()
std::size_t getSize() const
std::size_t getPos() const
void appendShort(unsigned short val)
std::basic_string< tchar > tstring