public interface DataSink
void write(Buffer buffer) throws java.io.IOException
buffer.getOffset() might
return -1 if the transfer mode used does not support
data offsets, for example stream transfer mode.buffer - the data buffer to write.java.io.IOException - if an I/O error occurs.void close()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.Copyright © 2013. All Rights Reserved.