#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) |
Definition in file ReadWriteBuffer.cpp.
| static size_t roundup | ( | size_t | nValue, | |
| size_t | nBlock | |||
| ) | [inline, static] |
round a value up to the nearest multiple of the block
| 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().
1.5.6