The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Buffer.h File Reference


namespace  JetByteTools
namespace  JetByteTools::IO


class  CBuffer
 An implementation of the IBuffer interface which includes its own custom new and delete functionality so that the memory for the buffer and the memory for the rest of the class are allocated as a single block of memory. Note that the 'user data' is also allocated as part of the main buffer memory and the class knows how to access the various memory areas correctly. Note that the buffers may be allocated using VirtualAlloc() to align the memory on page boundaries; in this case, it's best to create buffers with a size that is a multiple of the system's page size less the size of the buffer object, see CBufferAllocator for more details. More...

Generated on Sun Sep 12 19:06:42 2021 for The Server Framework - v7.4 by doxygen 1.5.3