private int getNextOffset(final int offset) {
        return offset >= pooledBufferCounters.length - 1
                ? -1
                : offset + 1;
    }
@param n The number to test
@return True if n is a power of ten, e.g. if n==10
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferPoolImpl4.java