Package org.apache.johnzon.core
Interface Buffered
-
- All Known Implementing Classes:
Snippet.Buffer.SnippetWriter
public interface Buffered
ABuffered
is a source or destination of data that is buffered before writing or reading. The bufferSize method allows all participants in the underlying stream to align on this buffer size for optimization. This interface is designed in the spirit ofjava.io.Flushable
andjava.io.Closeable
- Since:
- 1.2.17
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
bufferSize()
The buffer size used by this stream while reading input or before writing output to the underlying stream.
-