Package | Description |
---|---|
org.ballerinalang.nativeimpl.io.channels | |
org.ballerinalang.nativeimpl.io.channels.base |
Modifier and Type | Method and Description |
---|---|
void |
FileIOChannel.transfer(int position,
int count,
WritableByteChannel dstChannel)
Transfer file content to the specified destination.
|
Constructor and Description |
---|
FileIOChannel(FileChannel channel,
int size) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
Buffer.get(int numberOfBytesRequested,
AbstractChannel channel)
Get readable byte buffer.
|
String[] |
TextRecordChannel.read()
Read the next readRecord.
|
String |
CharacterChannel.read(int numberOfCharacters)
Reads specified number of characters from a given channel.
|
byte[] |
Channel.read(int numberOfBytes)
Reads specified amount of bytes from a given channel.
|
void |
Buffer.reverse(int count)
Will reverse the position of the buffer.
|
abstract void |
AbstractChannel.transfer(int position,
int count,
WritableByteChannel dstChannel)
Will be used when performing direct transfer operations from OS cache.
|
int |
CharacterChannel.write(String content,
int offset)
Writes a given string input into the channel.
|
Constructor and Description |
---|
AbstractChannel(ByteChannel channel)
Creates a ballerina channel which will source/sink from I/O resource.
|
Channel(ByteChannel channel,
int size) |
Copyright © 2018 WSO2. All rights reserved.