Method write(byte[] b, int off, int len)
Return type: void
Member of: java.io.FileOutputStream
[api documentation ] [ main menu]

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

1 out.write(buff, 0, 300);
2 fos.write(filebuffer,0,actuallength);
3 fos.write(lastTwoBytes, 0, 1); // we only saved one byte
4 outs.write(accum, 0, a_count);
5 out.write(buf, 0, nRead);
6 os.write(buffer, 0, i);
7 os.write(buf, 0, len);
8 fos.write( buf, 0, readlen ); // IndexOutOfBounds error!
9 os.write(bytes,0,c);
10 fos.write( buf, 0, readlen );
11 fos.write(buf, 0, rs);
12 out.write(buffer, 0, count);
13 os.write(buf, 0, len);
14 fo.write(buf, 0, read);
15 fos.write(bytes, 0, ln);
16 out.write(buffer, 0, count);
17 fos.write(buf, 0, nr);
18 cache.write(b, 0, l);
19 out.write( b, 0, length );
20 os.write(bytes, 0, len);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.