Hi Andreas, Feel free to provide a test and a patch ;)
Gary On Feb 11, 2012, at 13:39, Andreas Menke <[email protected]> wrote: > Hi, > > from BaseNCodec.java: > > how does resizeBuffer() know how big 'int size' is? Bug or Feature? > > /** > * Ensure that the buffer has room for <code>size</code> bytes > * > * @param size minimum spare space required > */ > protected void ensureBufferSize(int size){ > if ((buffer == null) || (buffer.length < pos + size)){ > resizeBuffer(); > } > } > > Regards > > Andreas > > -- > > > Andreas Menke > > Diplom-Informatiker Univ. > Software-Entwicklung > > Fon 0151 5081 1173 > Mail [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
