Method read(byte[] b)
Return type: int
Member of: java.io.DataInputStream
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 f.read(b);
2 is.read( js );
3 int bytes_read = in.read(info);
4 in.read(into.keystart) ;
5 while ((length= in.read(buffer)) != -1) {
6 dis.read(name);
7 while ((read = in.read(buf)) > 0) {
8 int bytes_read = in.read(code);
9 if ((numRead=in.read(buffer))>0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.