public CharBuffer trimWhitespaceStart() {
        while ((start < end) && (buffer[start] <= SPACE)) {
            start++;
        }
        return this;
    }
Trims off whitespace from the start of the buffer.
stroom-util/src/main/java/stroom/util/CharBuffer.java