int function ( final int arg0 ) { return Math . max ( 1 , Math . min ( arg0 , BUFFER_SIZE ) ) ; }
make sure we allocate a buffer sized not bigger than 2048 , not higher than what is actually needed , and at least one . concode_field_sep int BUFFER_SIZE concode_elem_sep CoreMessageLogger LOG concode_field_sep Object subStream concode_elem_sep InputStream subStream concode_elem_sep long determineLengthForBufferSizing concode_elem_sep boolean isNClob concode_elem_sep byte[] extractBytes concode_elem_sep byte[] extractBytes concode_elem_sep String extractString concode_elem_sep String extractString concode_elem_sep String extractString concode_elem_sep String extractString