int getAvailable(int length) {
            return Math.min(totalWriteLimit - totalChars, length);
        }
Given the requested length, how many characters are actually available
@param length
@return
tika-core/src/main/java/org/apache/tika/parser/RecursiveParserWrapper.java