|
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
|