BufferedOutputStream (Java SE 25 & JDK 25)
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
-
Field Summary
Fields
protected byte[]The internal buffer where data is stored.
protected intThe number of valid bytes in the buffer.
-
Constructor Summary
Constructors
Creates a new buffered output stream to write data to the specified underlying output stream.
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
-
Method Summary
-
Field Details
-
buf
-
count
-
-
Constructor Details
-
BufferedOutputStream
-
BufferedOutputStream
-
-
Method Details
-
write
-
write
-
flush
-