clear

Clears the buffer: sets position to 0, limit to capacity, and mark to -1.