Interface IoOutputStream

    • Method Detail

      • writeBuffer

        IoWriteFuture writeBuffer​(Buffer buffer)
                           throws IOException
        Write the given buffer.
        Parameters:
        buffer - the data to write. NOTE: the buffer must not be touched until the returned write future is completed.
        Returns:
        An IoWriteFuture that can be used to check when the data has actually been written.
        Throws:
        IOException - if an error occurred when writing the data