ensure we always have a buffer even if no data was passed before end().