Supprimer un message
rfr
Qui a parlé de caractère?
public int read(byte[] b, int off, int len)
Parameters:
b - the buffer into which the data is read.
off - the start offset in array b at which the data is written.
len - the maximum number of bytes to read.
Très juste, c'est un Reader qui lit des char. Et on ne peut pas transformer un char en byte en java.
Se connecter
Inscription
Mot de passe perdu