public class CompositeWritableBuffer extends Object implements WritableBuffer
WritableBuffer.ByteBufferWrapper
Constructor and Description |
---|
CompositeWritableBuffer(WritableBuffer first,
WritableBuffer second) |
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() |
String |
toString() |
public CompositeWritableBuffer(WritableBuffer first, WritableBuffer second)
public void put(byte b)
put
in interface WritableBuffer
public void putFloat(float f)
putFloat
in interface WritableBuffer
public void putDouble(double d)
putDouble
in interface WritableBuffer
public void putShort(short s)
putShort
in interface WritableBuffer
public void putInt(int i)
putInt
in interface WritableBuffer
public void putLong(long l)
putLong
in interface WritableBuffer
public boolean hasRemaining()
hasRemaining
in interface WritableBuffer
public int remaining()
remaining
in interface WritableBuffer
public int position()
position
in interface WritableBuffer
public int limit()
limit
in interface WritableBuffer
public void position(int position)
position
in interface WritableBuffer
public void put(byte[] src, int offset, int length)
put
in interface WritableBuffer
public void put(ByteBuffer payload)
put
in interface WritableBuffer
Copyright © 2016 The Apache Software Foundation. All rights reserved.