Would be nice if I didn't have to keep track of a buffer myself