org.apache.qpid.proton.codec
Interface WritableBuffer

All Known Implementing Classes:
CompositeWritableBuffer, DroppingWritableBuffer, WritableBuffer.ByteBufferWrapper

public interface WritableBuffer


Nested Class Summary
static class WritableBuffer.ByteBufferWrapper
           
 
Method Summary
 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()
           
 

Method Detail

put

void put(byte b)

putFloat

void putFloat(float f)

putDouble

void putDouble(double d)

put

void put(byte[] src,
         int offset,
         int length)

putShort

void putShort(short s)

putInt

void putInt(int i)

putLong

void putLong(long l)

hasRemaining

boolean hasRemaining()

remaining

int remaining()

position

int position()

position

void position(int position)

put

void put(ByteBuffer payload)

limit

int limit()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.