2005/5/9

     
 

class ArrayReadWriteByteBuffer

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::ArrayReadWriteByteBuffer Class Reference

#include <ByteBuffer.h>

Inheritance diagram for acdk::lang::ArrayReadWriteByteBuffer:

acdk::lang::ArrayReadByteBuffer acdk::lang::ReadWriteByteBuffer acdk::lang::Object acdk::lang::ReadByteBuffer acdk::lang::SimplePtrItBuffer< byte > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

wrapps a a byteArray as ByteBuffer


Public Member Functions

 ArrayReadWriteByteBuffer (IN(RbyteArray) ba, int start=0, int end=-1)
 creates a ReadWriteByteBuffer from a byteArray with given absolut start and end offsets

RObject clone ()
void set (int idx, byte v)
 set the byte at given position May throw RuntimeException or ArrayIndexOutOfBoundsException

virtual RWriteByteBuffer createWriteSlice (int start=0, int end=-1, SliceType sliceType=ShadowSlice)
 creates a slice of this ByteBuffer

virtual RReadWriteByteBuffer createReadWriteSlice (int start=0, int end=-1, SliceType sliceType=ShadowSlice)
 creates a slice of this ByteBuffer


Constructor & Destructor Documentation

acdk::lang::ArrayReadWriteByteBuffer::ArrayReadWriteByteBuffer IN(RbyteArray ba,
int  start = 0,
int  end = -1
[inline]
 

creates a ReadWriteByteBuffer from a byteArray with given absolut start and end offsets


Member Function Documentation

RObject acdk::lang::ArrayReadWriteByteBuffer::clone  )  [inline, virtual]
 

See also:
serialized_clone

Reimplemented from acdk::lang::ArrayReadByteBuffer.

virtual RReadWriteByteBuffer acdk::lang::ArrayReadWriteByteBuffer::createReadWriteSlice int  start = 0,
int  end = -1,
SliceType  sliceType = ShadowSlice
[virtual]
 

creates a slice of this ByteBuffer

Implements acdk::lang::ReadWriteByteBuffer.

virtual RWriteByteBuffer acdk::lang::ArrayReadWriteByteBuffer::createWriteSlice int  start = 0,
int  end = -1,
SliceType  sliceType = ShadowSlice
[virtual]
 

creates a slice of this ByteBuffer

Implements acdk::lang::WriteByteBuffer.

void acdk::lang::ArrayReadWriteByteBuffer::set int  idx,
byte  v
[inline, virtual]
 

set the byte at given position May throw RuntimeException or ArrayIndexOutOfBoundsException

Implements acdk::lang::WriteByteBuffer.