public interface BinaryNIOOutputSink extends OutputSink
OutputSink
s to write a
Buffer
instead of having to convert to those types supported by
OutputStream
.Modifier and Type | Method and Description |
---|---|
void |
write(Buffer buffer)
Writes the contents of the specified
Buffer . |
canWrite, canWrite, notifyCanWrite, notifyCanWrite
void write(Buffer buffer) throws IOException
Buffer
.buffer
- the to write
IOException
Copyright © 2015 Oracle Corporation. All rights reserved.