ReadWriteBuffer.cpp File Reference

Byte buffer management. More...

#include <new>
#include <stdexcept>
#include "ReadWriteBuffer.h"

Go to the source code of this file.

Functions

static size_t roundup (size_t nValue, size_t nBlock)


Detailed Description

Byte buffer management.

Version:
1.0

Definition in file ReadWriteBuffer.cpp.


Function Documentation

static size_t roundup ( size_t  nValue,
size_t  nBlock 
) [inline, static]

round a value up to the nearest multiple of the block

Parameters:
nValue value to be rounded up
nBlock block size to round the value to

Definition at line 101 of file ReadWriteBuffer.cpp.

Referenced by ReadWriteBuffer::GetWriteBuffer(), and ReadWriteBuffer::SetInternalBuffer().


Generated on Tue Jun 3 17:24:05 2008 for MemCacheClient by  doxygen 1.5.6