org.apache.qpid.proton.codec
Class WritableBuffer.ByteBufferWrapper
java.lang.Object
org.apache.qpid.proton.codec.WritableBuffer.ByteBufferWrapper
- All Implemented Interfaces:
- WritableBuffer
- Enclosing interface:
- WritableBuffer
public static class WritableBuffer.ByteBufferWrapper
- extends Object
- implements WritableBuffer
WritableBuffer.ByteBufferWrapper
public WritableBuffer.ByteBufferWrapper(ByteBuffer buf)
put
public void put(byte b)
- Specified by:
put in interface WritableBuffer
putFloat
public void putFloat(float f)
- Specified by:
putFloat in interface WritableBuffer
putDouble
public void putDouble(double d)
- Specified by:
putDouble in interface WritableBuffer
put
public void put(byte[] src,
int offset,
int length)
- Specified by:
put in interface WritableBuffer
putShort
public void putShort(short s)
- Specified by:
putShort in interface WritableBuffer
putInt
public void putInt(int i)
- Specified by:
putInt in interface WritableBuffer
putLong
public void putLong(long l)
- Specified by:
putLong in interface WritableBuffer
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemaining in interface WritableBuffer
remaining
public int remaining()
- Specified by:
remaining in interface WritableBuffer
position
public int position()
- Specified by:
position in interface WritableBuffer
position
public void position(int position)
- Specified by:
position in interface WritableBuffer
put
public void put(ByteBuffer src)
- Specified by:
put in interface WritableBuffer
limit
public int limit()
- Specified by:
limit in interface WritableBuffer
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.