public void input(final int b) {
        input(new byte[] {(byte) b});
    }
Ensures that the char[] array of the specified StringBuilder does not exceed the specified number of characters.
This method is useful to ensure that excessively long char[] arrays are not kept in memory forever.

@param stringBuilder the StringBuilder to check
@param maxSize the maximum number of characters the StringBuilder is allowed to have
httpclient5/src/main/java/org/apache/hc/client5/http/impl/Wire.java