public class NettyWritable extends Object implements org.apache.qpid.proton.codec.WritableBuffer
| Constructor and Description |
|---|
NettyWritable(io.netty.buffer.ByteBuf nettyBuffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRemaining() |
int |
limit() |
int |
position() |
void |
position(int position) |
void |
put(byte b) |
void |
put(byte[] src,
int offset,
int length) |
void |
put(ByteBuffer payload) |
void |
putDouble(double d) |
void |
putFloat(float f) |
void |
putInt(int i) |
void |
putLong(long l) |
void |
putShort(short s) |
int |
remaining() |
public void put(byte b)
put in interface org.apache.qpid.proton.codec.WritableBufferpublic void putFloat(float f)
putFloat in interface org.apache.qpid.proton.codec.WritableBufferpublic void putDouble(double d)
putDouble in interface org.apache.qpid.proton.codec.WritableBufferpublic void put(byte[] src,
int offset,
int length)
put in interface org.apache.qpid.proton.codec.WritableBufferpublic void putShort(short s)
putShort in interface org.apache.qpid.proton.codec.WritableBufferpublic void putInt(int i)
putInt in interface org.apache.qpid.proton.codec.WritableBufferpublic void putLong(long l)
putLong in interface org.apache.qpid.proton.codec.WritableBufferpublic boolean hasRemaining()
hasRemaining in interface org.apache.qpid.proton.codec.WritableBufferpublic int remaining()
remaining in interface org.apache.qpid.proton.codec.WritableBufferpublic int position()
position in interface org.apache.qpid.proton.codec.WritableBufferpublic void position(int position)
position in interface org.apache.qpid.proton.codec.WritableBufferpublic void put(ByteBuffer payload)
put in interface org.apache.qpid.proton.codec.WritableBufferpublic int limit()
limit in interface org.apache.qpid.proton.codec.WritableBufferCopyright © 2017 The Apache Software Foundation. All Rights Reserved.