#include <ByteBuffer.h>
Inheritance diagram for acdk::lang::SlicedReadByteBuffer:
Public Member Functions | |
SlicedReadByteBuffer (IN(RReadByteBuffer) buf, int start=0, int end=-1) | |
creates a slice from given ReadByteBuffer with given (absolut) start and end offsets | |
virtual RObject | clone () |
virtual int | length () |
virtual byte | get (int idx) |
returns the byte from given position May throw RuntimeException or ArrayIndexOutOfBoundsException | |
virtual RReadByteBuffer | createReadSlice (int start=0, int end=-1, SliceType sliceType=ShadowSlice) |
creates a slice of this ByteBuffer | |
virtual byte * | begin () |
for performance reasons the ByteBuffer implementation should support this method | |
virtual byte * | end () |
for performance reasons the ByteBuffer implementation should support this method | |
virtual bool | supportNativeIterator () |
begin() and end() are supported | |
Protected Attributes | |
RReadByteBuffer | _parent |
original byte buffer | |
int | _start |
int | _end |
|
creates a slice from given ReadByteBuffer with given (absolut) start and end offsets
|
|
for performance reasons the ByteBuffer implementation should support this method
Reimplemented from acdk::lang::ByteBuffer. |
|
Reimplemented from acdk::lang::Object. |
|
creates a slice of this ByteBuffer
Implements acdk::lang::ReadByteBuffer. |
|
for performance reasons the ByteBuffer implementation should support this method
Reimplemented from acdk::lang::ByteBuffer. |
|
returns the byte from given position May throw RuntimeException or ArrayIndexOutOfBoundsException
Implements acdk::lang::ReadByteBuffer. |
|
Implements acdk::lang::ByteBuffer. |
|
begin() and end() are supported
Reimplemented from acdk::lang::ByteBuffer. |
|
|
|
original byte buffer
|
|
|