helper method to grow the character buffer as needed , this only happens once in a while so it 's ok if it 's in a method call . if the index passed in is 0 then no copying will be done . concode_field_sep int DEST_PAD concode_elem_sep ThreadLocal<char[]> DEST_TL concode_field_sep int codePointAt concode_elem_sep int nextEscapeIndex concode_elem_sep char[] escape concode_elem_sep String escape concode_elem_sep char[] initialValue concode_elem_sep String escapeSlow
char [ ] function ( final char [ ] arg0 , final int arg1 , final int arg2 ) { final char [ ] loc0 = new char [ arg2 ] ; if ( arg1 > 0 ) { System . arraycopy ( arg0 , 0 , loc0 , 0 , arg1 ) ; } return loc0 ; }