int size = roundUp(buffer.capacity());
int size = roundUp(buffer.capacity());
int size = roundUp(buffer.capacity());
int size = roundUp(buffer.capacity());
/** * Round the size to the next unit multiple. */ int roundUp(int v) { return BufferPool.roundUp(v, unit()); }
/** * Round the size to the next unit multiple. */ int roundUp(int v) { return BufferPool.roundUp(v, unit()); }
/** * Round the size to the next unit multiple. */ int roundUp(int v) { return BufferPool.roundUp(v, unit()); }
/** * Round the size to the next unit multiple. */ int roundUp(int v) { return BufferPool.roundUp(v, unit()); }