flip

Flips the buffer: sets limit to current position and resets position to 0.