Package | Description |
---|---|
org.ballerinalang.nativeimpl.io.channels.base | |
org.ballerinalang.nativeimpl.io.channels.base.readers |
Constructor and Description |
---|
Channel(ByteChannel channel,
Reader reader,
Writer writer)
Will read/write bytes from the provided channel
|
Channel(ByteChannel channel,
Reader reader,
Writer writer,
int size)
Creates a channel which will contain a fixed sized buffer.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncReader
Asynchronously reads bytes from the channel.
|
class |
BlockingReader
Attempts to fill the entire buffer with content.
|
Copyright © 2018 WSO2. All rights reserved.