Why avoid using ByteStream in Java

We should not use a byte stream, as Sun Doc says -

this is actually a type of low-level I / O that should be avoided.

What constitutes low-level I / O and the exact problem of using a byte stream.

+3
source share
2 answers

So Java docs say:

CopyBytes , -, . xanadu.txt , , . . /.

, . . . , , ints ascii-, . .

, , , -, , - ; .

, , , , , , , :)

+3

, . :

Java- , Unicode. / .

, - .

+2

All Articles