Package org.gnome.gio

Class BufferedInputStream

java.lang.Object
All Implemented Interfaces:
Proxy, AutoCloseable, AutoCloseable, Seekable
Direct Known Subclasses:
DataInputStream

@Generated("io.github.jwharm.JavaGI") public class BufferedInputStream extends FilterInputStream implements Seekable
Buffered input stream implements FilterInputStream and provides for buffered reads.

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

To create a buffered input stream, use BufferedInputStream(org.gnome.gio.InputStream), or sized(org.gnome.gio.InputStream, 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 input stream's buffer, use setBufferSize(long). Note that the buffer's size cannot be reduced below the size of the data within the buffer.