public interface Buffered
Buffered
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 of java.io.Flushable
and
java.io.Closeable
Modifier and Type | Method and Description |
---|---|
int |
bufferSize()
The buffer size used by this stream while reading input or before writing
output to the underlying stream.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.