byte [ ] function ( String arg0 ) { int loc0 = arg0 . length ( ) ; byte [ ] loc1 = new byte [ loc0 / 2 ] ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 += 2 ) { loc1 [ loc2 / 2 ] = ( byte ) ( ( Character . digit ( arg0 . charAt ( loc2 ) , 16 ) << 4 ) + Character . digit ( arg0 . charAt ( loc2 + 1 ) , 16 ) ) ; } return loc1 ; }
convert a string representation of hexadecimal to a byte array . for example : string s = `` 00010203 '' returned byte array is 0x00 , 0x01 , 0x03 concode_field_sep String HEXES concode_field_sep boolean[] getBits concode_elem_sep int fromHex concode_elem_sep Date resolveDateTime concode_elem_sep String toHex concode_elem_sep String toHex concode_elem_sep int fromByte concode_elem_sep String getHex