@Override
    public void clear() {
        if (byteBuffer != null) {
            byteBuffer.clear();
        }
    }
Clears the underlying buffer if there is one.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/PooledByteBufferImpl.java