public interface Writer
| Modifier and Type | Method and Description |
|---|---|
int |
write(ByteBuffer content,
ByteChannel channel)
Writes bytes to the given channel.
|
int write(ByteBuffer content, ByteChannel channel) throws BallerinaIOException
content - 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.