decodes a hex string to a byte array . the hex string can contain either upper case or lower case letters . concode_field_sep char[] T_TABLE concode_elem_sep String CHUNK_SEPARATOR concode_field_sep Writable encodeBase64 concode_elem_sep Writable encodeBase64 concode_elem_sep Writable encodeBase64 concode_elem_sep Writable encodeBase64 concode_elem_sep Writable encodeHex concode_elem_sep Writable encodeHex concode_elem_sep byte[] decodeBase64
byte [ ] function ( final String arg0 ) { if ( arg0 . length ( ) % 2 != 0 ) { throw new NumberFormatException ( "srini_string" ) ; } byte [ ] loc0 = new byte [ arg0 . length ( ) / 2 ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; loc1 += 2 ) { loc0 [ loc1 / 2 ] = ( byte ) Integer . parseInt ( arg0 . substring ( loc1 , loc1 + 2 ) , 16 ) ; } return loc0 ; }