public class RpcByteBufferOutput
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RpcByteBufferOutput |
getBufferOutputStream(java.lang.String[] cmdArguments) |
java.nio.ByteBuffer |
getByteBuffer() |
int |
getCapacity() |
int |
getLimit() |
int |
getPosition() |
void |
write(byte b) |
void |
write(byte[] b) |
void |
write(byte[] sourceBytes,
int off,
int len) |
long |
write(java.util.Map<java.lang.String,java.lang.Object> map) |
public static RpcByteBufferOutput getBufferOutputStream(java.lang.String[] cmdArguments) throws java.io.IOException
java.io.IOException
public void write(byte[] sourceBytes, int off, int len) throws java.io.IOException
java.io.IOException
public void write(byte[] b) throws java.io.IOException
java.io.IOException
public void write(byte b) throws java.io.IOException
java.io.IOException
public long write(java.util.Map<java.lang.String,java.lang.Object> map) throws java.io.IOException, FileDecoderException, FileEncoderException
java.io.IOException
FileDecoderException
FileEncoderException
public java.nio.ByteBuffer getByteBuffer()
public int getCapacity()
public int getLimit()
public int getPosition()