More concise buffer handling.