- <init>
- append
- del
Delete the char under the cursor or return -1 if no char was deleted.
- getLine
- getSize
Returns the total number of chars in the buffer, independently of the cursor
position.
- moveLeft
- moveRight
Move the cursor right by one char with the provided char.
- moveRightBy
- reset
Reset the buffer state.
- appendData
- appendDel
Delete the char before the cursor.
- charAt
Returns a character at a specified index in the buffer.