Package org.gnome.gio

Class BufferedOutputStream

java.lang.Object
All Implemented Interfaces:
Proxy, AutoCloseable, AutoCloseable, Seekable

@Generated("io.github.jwharm.JavaGI") public class BufferedOutputStream extends FilterOutputStream implements Seekable
Buffered output stream implements FilterOutputStream and provides for buffered writes.

By default, GBufferedOutputStream's buffer size is set at 4 kilobytes.

To create a buffered output stream, use BufferedOutputStream(org.gnome.gio.OutputStream), or sized(org.gnome.gio.OutputStream, long) to specify the buffer's size at construction.

To get the size of a buffer within a buffered input stream, use getBufferSize(). To change the size of a buffered output stream's buffer, use setBufferSize(long). Note that the buffer's size cannot be reduced below the size of the data within the buffer.