Hi,

-----Original-Nachricht-----
> Von: Christopher Schultz <ch...@christopherschultz.net>
> An: Tomcat Developers List <dev@tomcat.apache.org>


> > A CharBuffer cannot grow itself?
> 
> The API does not seem to say anything about re-sizing CharBuffers.

The Javadoc for java.nio.Buffer (superclass of CharBuffer) states that:
    A buffer's capacity is the number of elements it contains. The capacity of 
a buffer is never negative and never changes. 

So one would probably need to manually allocate a bigger buffer when it has too 
little remaining elements.


Regards,
Konstantin Preißer



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to