public class Base64Wrapper extends Channel
Constructor and Description |
---|
Base64Wrapper(Base64ByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
void |
transfer(int position,
int count,
WritableByteChannel dstChannel)
Will be used when performing direct transfer operations from OS cache.
|
close, getInputStream, hasReachedEnd, read, readFull, write
public Base64Wrapper(Base64ByteChannel channel) throws BallerinaIOException
BallerinaIOException
public void transfer(int position, int count, WritableByteChannel dstChannel) throws IOException
Channel
transfer
in class Channel
position
- starting position of the bytes to be transferred.count
- number of bytes to be transferred.dstChannel
- destination channel to transfer.IOException
- during I/O error.Copyright © 2018 WSO2. All rights reserved.