byte [ ] function ( String arg0 ) { int loc0 = arg0 . length ( ) ; if ( ( loc0 & 0x01 ) != 0 ) { throw new IOException ( "srini_string" ) ; } byte [ ] loc1 = new byte [ loc0 / 2 ] ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 += 2 ) { loc1 [ loc2 / 2 ] = ( byte ) ( ( hexCharToDigit ( arg0 . charAt ( loc2 ) ) << 4 ) + hexCharToDigit ( arg0 . charAt ( loc2 + 1 ) ) ) ; } return loc1 ; }
parses the supplied string into a byte - assumes that the text is in hex format . concode_field_sep String[] hexDigits concode_field_sep String toBase64 concode_elem_sep String toBase64 concode_elem_sep String toBase64 concode_elem_sep byte[] base64StringToByteArray concode_elem_sep String byteArrayToBase64String concode_elem_sep String byteArrayToBase64String concode_elem_sep String byteArrayToHexString concode_elem_sep byte[] base64ToBytes concode_elem_sep int hexCharToDigit concode_elem_sep char base64Digit concode_elem_sep String byteToHexString