Package | Description |
---|---|
org.ballerinalang.nativeimpl.io.channels.base | |
org.ballerinalang.nativeimpl.io.channels.base.writers |
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 |
AsyncWriter
Writes bytes to a given channel asynchronously.
|
class |
BlockingWriter
Read bytes in blocking mode.
|
Copyright © 2018 WSO2. All rights reserved.