BufferedOutputStream class methods in Java

java.io.BufferedOutputStream

The class implements a buffered output stream. By setting up such an output stream, an application can write bytes to the underlying output stream without necessarily causing a call to the underlying system for each byte written.


Some methods of BufferedOutputStream  class


flush(): This method flushes this buffered output stream.


write(int): This method writes the specified byte to this buffered output stream.


write(byte[], int, int): This method writes len bytes from the specified byte array starting at offset off to this buffered output stream.


No comments:

Post a Comment