Re: [codec] Bug or Feature2

2012-02-16 Thread Gary Gregory
On Thu, Feb 16, 2012 at 9:50 AM, Gary Gregory wrote: > On Wed, Feb 15, 2012 at 11:28 PM, Andreas Menke wrote: > >> Hi, >> >> usage of ensureBufferSize() seems to be 'asymptotic' safe (despite the >> fact that a line separator might be much bigger than DEFAULT_BUFFER_SIZE, >> see below, and that n

Re: [codec] Bug or Feature2

2012-02-16 Thread Gary Gregory
On Wed, Feb 15, 2012 at 11:28 PM, Andreas Menke wrote: > Hi, > > usage of ensureBufferSize() seems to be 'asymptotic' safe (despite the > fact that a line separator might be much bigger than DEFAULT_BUFFER_SIZE, > see below, and that no body else use the function as he is told by > description..)

[codec] Bug or Feature2

2012-02-15 Thread Andreas Menke
Hi, usage of ensureBufferSize() seems to be 'asymptotic' safe (despite the fact that a line separator might be much bigger than DEFAULT_BUFFER_SIZE, see below, and that no body else use the function as he is told by description..). /** Increases our buffer by the {@link #DEFAULT_BUFFER_