int function ( @ Nonnegative final int arg0 ) { ValueEnforcer . isBetweenInclusive ( arg0 , "srini_string" , Character . MIN_VALUE , Character . MAX_VALUE ) ; if ( arg0 == 0 ) return 2 ; if ( arg0 <= 0x7f ) return 1 ; if ( arg0 <= 0x7ff ) return 2 ; if ( arg0 <= 0xd7ff ) return 3 ; return 0 ; }
get the number of bytes necessary to represent the passed character . concode_field_sep SortedMap<String,Charset> s_aAllCharsets concode_elem_sep CharsetManager s_aInstance concode_field_sep byte[] getAsBytes concode_elem_sep byte[] getAsBytes concode_elem_sep SortedMap<String,Charset> getAllCharsets concode_elem_sep Charset getCharsetFromNameOrNull concode_elem_sep String getAsString concode_elem_sep String getAsString concode_elem_sep String getAsString concode_elem_sep String getAsString concode_elem_sep Charset getCharsetFromName concode_elem_sep String getAsStringInOtherCharset concode_elem_sep String getAsStringInOtherCharset