public boolean isBlank() {
        int pos = start;
        while ((pos < end) && (buffer[pos] <= SPACE)) {
            pos++;
        }
        return pos == end;
    }
True if the length of the buffer is 0 or that all content is whitespace.
stroom-util/src/main/java/stroom/util/CharBuffer.java