#include <ByteBuffer.h>
Inheritance diagram for acdk::lang::FlexByteBuffer:
Public Member Functions | |
virtual void | append (byte t)=0 |
append the given byte | |
virtual byte | deleteAt (int idx)=0 |
delete byte at given position and return it | |
virtual void | insertAt (int idx, byte t)=0 |
insert a given byte into given position | |
virtual int | limit ()=0 |
return -1 if this buffer has no write limit | |
virtual void | ensureCapacity (int cap)=0 |
for performance: ensure capacity | |
virtual void | resize (int size, byte fill=0)=0 |
set size of buffer if new size > as current size use fill byte to fill new elements | |
virtual void | push (byte t) |
alias for the append(byte t) method | |
virtual byte | pop () |
removes the last byte and return it |
|
append the given byte
Implemented in acdk::lang::CoreByteBuffer. |
|
delete byte at given position and return it
Implemented in acdk::lang::CoreByteBuffer. |
|
for performance: ensure capacity
Implemented in acdk::lang::CoreByteBuffer. |
|
insert a given byte into given position
Implemented in acdk::lang::CoreByteBuffer. |
|
return -1 if this buffer has no write limit
Implemented in acdk::lang::CoreByteBuffer. |
|
removes the last byte and return it
Reimplemented in acdk::lang::CoreByteBuffer. |
|
alias for the append(byte t) method
Reimplemented in acdk::lang::CoreByteBuffer. |
|
set size of buffer if new size > as current size use fill byte to fill new elements
Implemented in acdk::lang::CoreByteBuffer. |