private static char[] chars(byte[] bytes) {
        char[] chars = new char[bytes.length];
        for (int i = 0; i < bytes.length; i++) {
            int pos = bytes[i] & 0xff;
            chars[i] = (char) pos;
        }
        return chars;
    }
private static char [ ] chars ( byte [ ] bytes ) { char [ ] chars = new char [ bytes . length ] ; for ( int i = 0 ; i < bytes . length ; i ++ ) { int pos = bytes [ i ] & 0xff ; chars [ i ] = ( char ) pos ; } return chars ; }
Returns the {@code char} array representation of the specified {@code byte} array.

@param bytes The {@code byte} array to be converted.
@return The {@code char} array representation of the specified {@code byte} array.