Object function ( final Object arg0 ) { try { final byte [ ] loc0 = arg0 instanceof String ? ( ( String ) arg0 ) . getBytes ( this . getCharset ( ) ) : ( byte [ ] ) arg0 ; return encodeHex ( loc0 ) ; } catch ( final ClassCastException loc0 ) { throw new EncoderException ( loc0 . getMessage ( ) , loc0 ) ; } }
converts a string or an array of bytes into an array of characters representing the hexadecimal values of each byte in order . the returned array will be double the length of the passed string or array , as it takes two characters to represent any given byte . the conversion from hexadecimal characters to bytes to be encoded to performed with the charset named by #getcharset . concode_field_sep Charset charset concode_elem_sep Charset DEFAULT_CHARSET concode_elem_sep char[] DIGITS_LOWER concode_elem_sep char[] DIGITS_UPPER concode_elem_sep String DEFAULT_CHARSET_NAME concode_field_sep char[] encodeHex concode_elem_sep char[] encodeHex concode_elem_sep char[] encodeHex concode_elem_sep byte[] decodeHex concode_elem_sep String toString concode_elem_sep byte[] decode concode_elem_sep Object decode concode_elem_sep Charset getCharset concode_elem_sep String encodeHexString concode_elem_sep int toDigit concode_elem_sep String getCharsetName