byte [ ] function ( char [ ] arg0 , int arg1 , int arg2 ) { byte [ ] loc0 = new byte [ arg2 * 2 ] ; int loc1 = arg1 + arg2 ; int loc2 = 0 ; for ( int loc3 = arg1 ; loc3 < loc1 ; ++ loc3 ) { char loc4 = arg0 [ loc3 ] ; loc0 [ loc2 ++ ] = ( byte ) ( loc4 >> 8 ) ; loc0 [ loc2 ++ ] = ( byte ) loc4 ; } return loc0 ; }
returns a new byte array containing the bytes corresponding to the given characters , encoded in utf-16be . all characters are representable in utf-16be . concode_field_sep Charset US_ASCII concode_elem_sep Charset UTF_8 concode_elem_sep Charset ISO_8859_1 concode_field_sep byte[] toAsciiBytes concode_elem_sep void asciiBytesToChars concode_elem_sep void isoLatin1BytesToChars concode_elem_sep byte[] toIsoLatin1Bytes concode_elem_sep byte[] toUtf8Bytes