| Constructor and Description |
|---|
BlockingWriter() |
| Modifier and Type | Method and Description |
|---|---|
int |
write(ByteBuffer content,
ByteChannel channel)
Writes bytes to the given channel.
|
public int write(ByteBuffer content, ByteChannel channel) throws BallerinaIOException
write in interface Writercontent - the content which should be written.channel - the channel to which the bytes will be written toBallerinaIOException - during i/o error while writing.Copyright © 2018 WSO2. All rights reserved.